[lug] Passing multiword parameters through rsh from ksh
Elyse M. Grasso
emgrasso at data-raptors.com
Fri Feb 23 13:03:22 MST 2007
On Friday 23 February 2007 12:38 pm, Hugh Brown wrote:
> I'd also look at the getopts function. I believe ksh has it builtin
> (bash does).
>
> Hugh
The incoming end is perl, which has GetOpts, but I'm not sure that helps when
rsh is feeding it garbage... part of the problem is I can't guarantee that
options won't be mentioned in the quoted strings. I've got a workaround for a
simple case where there is only one parameter that might have spaces in it.
But one of the scripts has a huge set ao parameters, many allowing freeform
text.
--
Elyse Grasso
http://www.data-raptors.com Computers and Technology
http://www.astraltrading.com Divination and Science Fiction
http://www.data-raptors.com/global-cgi-bin/cgiwrap/emgrasso/blosxom.cgi WebLog
More information about the LUG
mailing list