[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] How to parse quoted text?



Invocation may differ on a Mac. This is on UNIX:

% perl -le '
use Text::ParseWords;
$_ = qq{add telecom "856473" "Louis Chretien" "" "Administrator"};
print join ":", shellwords($_);                
'                                         
add:telecom:856473:Louis Chretien::Administrator


andreas