summaryrefslogtreecommitdiff
path: root/test/widesub3.awk
blob: 48c414a9865ef155aa168efddbd5146c8c99bb64 (plain)
1
2
3
4
5
6
{
   if (substr($1,1,1) == substr($0,1,1))
      print "substr matches"
   sub(/foo/,"bar")
   print nr++
}