in reply to Re: Grep Pattern Match
in thread Grep Pattern Match
perl -e '$cat = "cat"; if ($cat =~ /\143\x61\x74/) { print "Its a cat! +\n"; } else { print "Thats a dog\n"; } print "\n";'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Grep Pattern Match
by diotalevi (Canon) on Dec 27, 2002 at 16:02 UTC | |
by BrowserUk (Patriarch) on Dec 27, 2002 at 16:17 UTC | |
by diotalevi (Canon) on Dec 27, 2002 at 16:21 UTC | |
by BrowserUk (Patriarch) on Dec 27, 2002 at 16:39 UTC | |
by diotalevi (Canon) on Dec 27, 2002 at 17:25 UTC | |
| |
by LostS (Friar) on Dec 27, 2002 at 16:23 UTC |