in reply to Re^2: sudo ignoring string entry after first space encountered
in thread sudo ignoring string entry after first space encountered
where SuoENV.ksh is a bash shell script
So are you using $* in your script where you should be using "$@" ?
$ cat wrapper #!/bin/bash perl -le'print for @ARGV' $* perl -le'print for @ARGV' "$@" $ ./wrapper foo "a b c" foo a b c foo a b c
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: sudo ignoring string entry after first space encountered ("$@")
by perl197 (Novice) on Apr 15, 2015 at 17:01 UTC | |
by tye (Sage) on Apr 16, 2015 at 03:08 UTC | |
by RonW (Parson) on Apr 15, 2015 at 19:49 UTC |