bash script question

Gary Kline kline at thought.org
Tue Dec 1 21:46:05 UTC 2009


On Tue, Dec 01, 2009 at 10:42:10PM +0100, Polytropon wrote:
> On Tue, 01 Dec 2009 21:06:34 +0100, Rolf G Nielsen <lazlar at lazlarlyricon.com> wrote:
> > Why are you using bash? To make a shell script as portable as possible, 
> > use /bin/sh. Bash is a third party shell, that isn't included in a base 
> > installation (you're not using bash as root's shell, are you?). By using 
> > /bin/sh, you make sure the script will run without having to install any 
> > ports.
> 
> That's a very good advice. Using sh is strongly recommended
> for maximal portability. Use sh if you're not requiring 
> features that are bash-only.
> 
> 

	Hi guys, 

	Here's a bash-related question, kind-of.  Is there any way to
	automagically run my .csrhc thru a script and wind up with a
	bash script?

	gary


> 
> 
> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 7.31a release of Jottings: http://jottings.thought.org/index.php



More information about the freebsd-questions mailing list