Date: Sun, 8 Jul 2012 18:51:23 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Vincent Hoffman <vince@unsane.co.uk> Cc: "FreeBSD-Questions@freebsd.org" <FreeBSD-Questions@freebsd.org> Subject: Re: for loops with /bin/sh on command line. Message-ID: <alpine.BSF.2.00.1207081851120.20724@wojtek.tensor.gdynia.pl> In-Reply-To: <4FF9B99D.4010101@unsane.co.uk> References: <4FF9B99D.4010101@unsane.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > banshee# for foo in 1 2 3 ; do echo $foo ; done > for: Command not found. > foo: Undefined variable. > banshee# echo 'for foo in 1 2 3; do echo $foo ; done' > bahh.sh > banshee# sh bahh.sh > 1 > 2 > 3 > banshee# > echo $SHELL is it /bin/sh really?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1207081851120.20724>