Debian Codegraph @

test/csvodd.awk

raw
1 # Show the string contents. Make begin, end, CR and LN visible.
2 function show(str) {
3 gsub("\r", "\\r", str)
4 gsub("\n", "\\n", str)
5 printf("<%s>", str)
6 }
7
8 # Dump the current record
9 {
10 show($0); show(RT); print ""
11 for (k=1; k<=NF; k++) show($k); print ""
12 }
13