diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2001-11-09 15:32:28 +0100 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2001-11-09 13:40:26 +0000 |
commit | ebce537753650facaea149579c73b75298d1fc2e (patch) | |
tree | b780dc18c005aac0c9829c2fed5450f8c43aefd9 /perl.c | |
parent | 213329dd3d3cdcddf6cc727a9d45053e2788898b (diff) | |
download | perl-ebce537753650facaea149579c73b75298d1fc2e.tar.gz |
#!perl -F...
Message-Id: <20011109143228.A18996@rafael>
p4raw-id: //depot/perl@12912
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2189,8 +2189,10 @@ Perl_moreswitches(pTHX_ char *s) return s; case 'F': PL_minus_F = TRUE; - PL_splitstr = savepv(s + 1); - s += strlen(s); + PL_splitstr = ++s; + while (*s && !isSPACE(*s)) ++s; + *s = '\0'; + PL_splitstr = savepv(PL_splitstr); return s; case 'a': PL_minus_a = TRUE; |