On Mon, Jun 14, 2010 at 11:02:11PM +1000, Amos Shapira wrote: > On 14 June 2010 22:48, Aharon Schkolnik <aschkol...@gmail.com> wrote: > > On Monday, June 14, 2010, Noam Meltzer wrote: > >> use $@ instead of $* > > > > Does that work for you ? > > > > I still get the same results - the script treates file\ one as two > > parameters - file and one. > > 1. Try switching to #!/bin/bash - I think the "$@" is a bash-specific > extension which might be disabled if bash is called as "sh".
It's not bash specific. Mind you, on some systems /bin/sh may point to something other than bash. -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il | | a Mutt's tzaf...@cohens.org.il | | best tzaf...@debian.org | | friend _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il