HOME


Mini Shell 1.0
DIR: /proc/self/root/usr/share/doc/gawk/examples/misc/
Upload File :
Current File : //proc/self/root/usr/share/doc/gawk/examples/misc/findpat.awk
{
    if ($1 == "FIND")
        regex = $2
    else {
        where = match($0, regex)
        if (where != 0)
            print "Match of", regex, "found at", where, "in", $0
       }
}