in reply to print out
This will print each argument on a separate line. Then you will see that it isn't your script that is mishandling the args. To put them back together, you could do something like:#!/usr/bin/perl { $" = "\n"; print "@ARGV\n"; }
Then you can ask the original question about spaces in the regexes. You could use /gu\s*1/ in the first instance. That will match gu followed by optional space followed by 1.my $args = join '', @ARGV;
Phil
|
|---|