☰
Debian Codegraph
@
1:5.3.2-1
/
/
awklib
/
eg
/
misc
/
findpat.awk
☽
☼
awklib/eg/misc/findpat.awk
code
plain
raw
GPL-3+
1986-2014, Free Software Foundation, Inc.
debian/copyright
1
{
2
if ($1 == "FIND")
3
regex = $2
4
else {
5
where = match($0, regex)
6
if (where != 0)
7
print "Match of", regex, "found at", where, "in", $0
8
}
9
}