File: find_field.awk

package info (click to toggle)
pcm 202502-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,164 kB
  • sloc: cpp: 44,347; ansic: 1,161; sh: 778; python: 388; awk: 28; makefile: 13
file content (7 lines) | stat: -rw-r--r-- 102 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/awk -f

{
    for(i=1; i<=NF; i++) {
        if (index($i, term) > 0) print (i)":"$i;
      }
}