There's more than one way to do things | |
PerlMonks |
Re^2: Any tips on passing bash variables as arguments to a perl script (that contain spaces and/or non-ascii characters)by wrog (Friar) |
on Apr 17, 2015 at 05:27 UTC ( [id://1123689]=note: print w/replies, xml ) | Need Help?? |
since the question is about about Linux and bash, you can probably skip the page about quoting on non-Unix systems; the bash manual is what you want. Most of the time, putting the arguments in double quotes does what you want, e.g.,
will ensure that whatever $OPC_MST_TXT expands to ends up as a single positional parameter
In Section
Seekers of Perl Wisdom
|
|