s_gaurav1091 has asked for the wisdom of the Perl Monks concerning the following question:
The problem is that in case if $string contains characters like $ or @ or % then these values are getting replaced by the perl keys. for example if $string is abc$ds then the value being passed is abcs. The value of $d is being getting replaced. I am baffled like how are we going to pass this variable. Please suggest Thnanx in advance`test.sh "$string"`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: passing a command line argument
by bart (Canon) on Oct 04, 2007 at 11:34 UTC | |
by Fletch (Bishop) on Oct 04, 2007 at 12:01 UTC | |
|
Re: passing a command line argument
by jettero (Monsignor) on Oct 04, 2007 at 12:01 UTC | |
|
Re: passing a command line argument
by mwah (Hermit) on Oct 04, 2007 at 13:07 UTC | |
|
Re: passing a command line argument
by naikonta (Curate) on Oct 04, 2007 at 16:17 UTC |