in reply to upto match please, my one-lina!!
perl -ne 'BEGIN { $pat = qr/.../; $size = (N-1) } @_ = ($_, @_[0 .. ($ +#_ > $size ? $size : $#_)]); print reverse @_ if /$pat/'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: upto match please, my one-lina!!
by Firefly258 (Beadle) on Jun 09, 2006 at 02:01 UTC | |
by japhy (Canon) on Jun 09, 2006 at 02:26 UTC |