Le dimanche 18 avril 2010 à 20:52 +0200, Stevan Bajić a écrit :
> On Sun, 18 Apr 2010 20:42:03 +0200
> Julien Valroff <jul...@kirya.net> wrote:
> 
> > Le dimanche 18 avril 2010 à 20:24 +0200, Stevan Bajić a écrit :
> > [...]
> > > Can I ask you one thing regarding Debian? Is the Bash shell installed
> > > by default on Debian? I plan to switch from /bin/sh to /bin/bash. The
> > > reason for that is that /bin/sh on FreeBSD is a shell like csh or ksh
> > > and I am not really interested in porting the whole script to be
> > > runnable under csh or ksh. I never really planed/expected to be able
> > > to have that little script to be runnable on anything other then
> > > Gentoo. Anyway... if I would ever redo that script then I would code
> > > it in Perl. Allone those differences in GNU sed and the one installed
> > > on FreeBSD is frustating. Let allone the other differences. With Perl
> > > I would not have those problems. Anyway... I have changed the script
> > > to cope with those limits I have seen on FreeBSD 6.2-RELEASE by using
> > > 'tr' instead of sed in some situations. I have still not commited
> > > those changes to GIT. I wait till you tell me that Debian has Bash
> > > installed by default.
> > 
> > Yes, bash is installed by default on Debian:
> > $ apt-cache show bash
> > Package: bash
> > Essential: yes
> > Priority: required
> > <...>
> > 
> > dash is now the default shell as it is lighter and scripts are hence
> > running faster than with bash (eg. init scripts):
> > $ ls -l /bin/sh
> > lrwxrwxrwx 1 root root 4 17 sept.  2009 /bin/sh -> dash
> > 
> > bash is still (and I think it will remain) the default interactive
> > shell, hence is installed on all Debian hosts.
> > 
> Another question. What about those tools:
> * awk
> * cut 
> * sed
> * sort
> * strings
> * tr
> * grep

All except strings are installed by default.

strings is in binutils which is optional, and is in the development
category (though some packages not in this category depends on it, that
is not a problem).

cut, sort, tr are in the coreutils package (Essential: yes)

base-files (Essential: yes) pre-depends on awk (which is a virtual
package, and can hence be gawk, mawk or original-awk)

sed and grep are both 'Essential: yes'

Cheers,
Julien


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to