in reply to Re^2: Checking the include form and getting only the header name
in thread Checking the include form and getting only the header name
Try
if ($line =~ /(#include.*\.h[>"])$/ ) { print "$1\n"; }
or
$line =~ s/.*(?=#include)//; print $line;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Checking the include form and getting only the header name
by Anonymous Monk on Mar 20, 2011 at 01:47 UTC | |
by Eliya (Vicar) on Mar 20, 2011 at 01:50 UTC | |
by Anonymous Monk on Mar 20, 2011 at 02:18 UTC | |
by Eliya (Vicar) on Mar 20, 2011 at 02:34 UTC | |
by Anonymous Monk on Mar 20, 2011 at 03:46 UTC | |
|