Leser: 18
1 2 3 4 5 6 7
#!/usr/bin/perl use strict; use warnings; my $argv = join( ' ',@ARGV); $argv =~ s/"/\\"/g; print "argv: \'${argv}\'\n"; print `echo "${argv}"`;
Quoterenee@desktop:~$ more test.bash
echo "$@"
renee@desktop:~$ bash test.bash "test"
test
renee@desktop:~$