[squeak-dev] script arguments with spaces
K. K. Subramaniam
kksubbu.ml at gmail.com
Sat Oct 9 04:02:25 UTC 2010
On Saturday 09 Oct 2010 4:06:37 am Eliot Miranda wrote:
> Bert is very probably right. If you're suing bourne/bash then look up
> the difference between $*, "$*", $@ and "$@". To preserve spaces you need
> to use $@/"$@" (depending on context" not $*. Also within your script you
> can use IFS to prevent space being a separator.
$@ always uses space as word separator while $* uses the first letter of IFS
variable. Otherwise they are the same. Smalltalk uses spaces for separator so
$@ will do.
Subbu
More information about the Squeak-dev
mailing list
|