no habla bash muy bien...

miah jjohnson at sunrise-linux.com
Thu Jan 29 14:26:13 EST 2004


On Thu, Jan 29, 2004 at 06:35:04PM +0000, John Chambers wrote:
> miah mutters:
> | http://www.tldp.org/LDP/abs/html/
> | Advanced Bash Scripting Guide
> |
> | GNU AWK users guide
> | http://www.gnu.org/software/gawk/manual/gawk.html
> |
> | Agreed though that you can tie yourself in knots with bash(or sh).. Though its often handy for little things.  As well, you'll never see initscripts written in Perl or Python, or atleast you shouldnt =)
> 
> Why not?  If you can rely on your customers' systems having  perl  or
> python  (perhaps  because  they  came  with  the CD that you had them
> install), then there's no reason not to use them.

Serious problems if you're attempting to boot the system and perl is in /usr/bin, and its not mounted yet and your initscripts require perl.  This is why sh/bash are in /bin as well as many of the other commonly used shell tools (like sed,awk, grep, cut).

-miah



More information about the Discuss mailing list