{ if ($1 == "FIND") regex = $2 else { where = match($0, regex) if (where != 0) print "Match of", regex, "found at", where, "in", $0 } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
addresses.csv | File | 72 B | 0644 |
|
arraymax.awk | File | 117 B | 0644 |
|
arraymax.data | File | 127 B | 0644 |
|
findpat.awk | File | 187 B | 0644 |
|
findpat.data | File | 131 B | 0644 |
|
simple-csv.awk | File | 147 B | 0644 |
|