☰
Debian Codegraph
@
1:5.3.2-1
/
/
test
/
posix2008sub.awk
☽
☼
test/posix2008sub.awk
code
plain
raw
GPL-3+
1986-2014, Free Software Foundation, Inc.
debian/copyright
1
BEGIN {
2
text = "here is some text"
3
repl = "<FOO&BAR \\q \\ \\\\ \\& \\\\& \\\\\\&>"
4
printf "orig = \"%s\", repl = \"%s\"\n", text, repl
5
sub(/some/, repl, text)
6
printf "result is \"%s\"\n", text
7
}