HomePage
This wiki is maintained by regulars from the **#awk** channel on **[[https://libera.chat/|irc.libera.chat]]** . . . -- print context lines around a match * [[Shellquote]] strings for use in shell commands * [[Transpose]] . . .
5K - last updated 2023-06-26 04:15 UTC by HappMacDonald
Shellquote
This function ensures that strings you use as arguments to the **system()** function (or **"cmd"{{{|}}}getline** . . . is wrapped in single quotes. {{{ awk function shellquote(str) { gsub(/'/, "'\\''", str) return sprintf("'%s'", . . .
1K - last updated 2009-03-01 00:35 UTC by h-67-101-152-180.nycmny83.dynamic.covad.net
2 pages found.