which matches the lines I wanted in a Makefile while simultaneously removing what I didn't want (the 'LIBFILES=' section prefix and the backslash continuation marker) from the lines.# From the "LIBFILES =" line to the first line that # doesn't end in a backslash, # collect library directory names if (my $status = s/^\s*LIBFILES\s*=// .. !s/\\$//) {
In reply to Re: The .. operator explained
by runrig
in thread The .. operator explained
by Cine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |