in reply to Re: matching first paragraph satisfying conditionin thread matching first paragraph satisfying condition
$ echo " indented
" | perl -00ne'/^\S/&&print&&exit'
Thank you ++ was not familiar with -00
PerlMonks, of course - how could you ask?
Games & puzzles
Arts & music
Whichever pays my bills
Results (249 votes). Check out past polls.