Debian Codegraph @

examples/demo_shquote

raw
1 #!/usr/bin/env runawk
2
3 #use "shquote.awk"
4 #use "xsystem.awk"
5
6 # This demo runs shquote ($0) for each input line and outputs the result.
7
8 # Input files for this demo: examples/demo_shquote.in
9
10 {
11 print shquote($0)
12 xsystem("printf 'printf: %s\n' " shquote($0))
13 }