On 8/25/06, Robert Citek <[EMAIL PROTECTED]> wrote:
$ echo 'a: b' | perl -F'/: /' -lane 'print join("--", @F)' a: b
For some reason, the space character seems not to match a space character. I'd call it a bug. Other ways to match a space, like \s and \x20, all seem to work: echo 'a: b' | perl -F'/:\s+/' -lane 'print join("--", @F)' See what happens when you file a bug report via the perlbug program. Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>