* Preserving NULL parameters between shell scripts
@ 1997-04-24 10:57 Andrew Gallagher
0 siblings, 0 replies; only message in thread
From: Andrew Gallagher @ 1997-04-24 10:57 UTC (permalink / raw)
To: tru64-unix-managers
Dec Unix Version 3.2d
Korn Shell
We are currently experiencing a problem when trying to pass null parameters between shell scripts.
The situation is that the first shell script is passed a set of parameters (the number of parameters is variable). This shell script then calls another shell script with the same parameter list. This is done using $*. Everything is ok as long as all the parameters have a value. e.g.
a.sh "1" "2" "3" - results in b.sh getting the parameter list 1 2 3
a.sh "1" "" "3" - results in b.sh getting the parameter list 1 3
We need a way of preserving the null parameter being passed into the second shell script. Any Ideas ?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-04-24 10:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-24 10:57 Preserving NULL parameters between shell scripts Andrew Gallagher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox