#warning windows doublequote! echo ECHO | perl -nle "BEGIN{print qq([@ARGV]);undef @ARGV}print" arg1 arg2 [arg1 arg2] ECHO