Dear Log,
Shell quoting hurts my brain:
% cat args
#!/usr/bin/perl
# Show what arguments we've been given
if(@ARGV) {
print "\t",
(@ARGV == 1) ? "1 argument:\n"
: (@ARGV . " arguments:\n"),
map "\t\t«$_»\n", @ARGV;
} else {
print "Zero arguments.\n";
}
% args "a b" c
2 arguments:
«a b»
«c»
% cat passing-along-
(
Read more... )