perl -ne 'BEGIN { $pat = qr/.../; $size = (N-1) } @_ = ($_, @_[0 .. ($ +#_ > $size ? $size : $#_)]); print reverse @_ if /$pat/'
In reply to Re: upto match please, my one-lina!!
by japhy
in thread upto match please, my one-lina!!
by Firefly258
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |