in reply to Re: passing parameters from shell script to perl program doesn't preserve spaces
in thread passing parameters from shell script to perl program doesn't preserve spaces [solved]
/usr/bin/bash$ aa=('a b' 'c d' e);perl -e 'print qq(>$_<\n) for @ARGV' + "${aa[@]}" >a b< >c d< >e<
L*
Edit: removed -l perl switch which caused more newlines
PS: now i remember why I choosed Perl!
|
|---|