On Tue, 2008-09-16 at 00:30 -0400, Paul Smith wrote: > On Sat, 2008-09-13 at 12:03 +1000, Matthew Jurgens wrote: > > Ok, so I updated the script to the RPM version and added the > > authentication parts: > > > > #!/bin/bash > > I guess maybe it's my pet peeve (like people who write "loose" when they > mean "lose", and vice versa), but I'd really, really love it if we could > avoid using bash in shell scripts, especially where (as in this case) > it's completely unnecessary. > > Can't we write our scripts in /bin/sh? > > I have some embedded systems that use autofs and I surely don't want to > have to build and install bash in my nice, small, busybox-based RAMDISK > just to run a few support scripts. And it would be nice if I didn't > have to gin up custom patches for them either. It's very, very simple > in virtually all cases to write your script in POSIX-standard sh rather > than bash... it just requires a bit of diligence.
I admit I don't usually think of embedded systems. I'll have to get onto that but I don't think version 5 is appropriate for an embedded system (maybe too big) and version 4 hasn't seen much love for a good while now. Anyway, I expect you have more than enough trouble setting up working tool chains than to have to worry about this sort of thing, ;) Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
