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. Cheers, Julien ------------------------------------------------------------------------------ Download Intel® 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