tags 350918 + pending thanks On Sat, Feb 04, 2006 at 01:03:29PM +0000, Gerrit Pape wrote: > On Sat, Feb 04, 2006 at 05:24:59PM +0530, Joshua N Pritikin wrote: > > On Sat, Feb 04, 2006 at 11:08:18AM +0000, Gerrit Pape wrote: > > > > such file or directory?chown: failed to get attributes of `': No such > > > > file or directory?chown: failed to get attributes of `': No such file or > > > > directory?chown: failed to get attributes of ... etc > > > > > > Hmm, where does /bin/sh point to on your system? > > > > Why dash of course! > > Hmm, I'll check this. Thanks.
It behaves differently when run from the command line, or run from a script, e.g.: $ echo foo && echo $_ foo foo $ dash -c 'echo foo && echo $_' foo foo $ but $ cat >ttt <<EOT echo foo && echo $_ EOT $ sh ttt foo cat $ So I really need to fix it. Regards, Gerrit. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

