July 31, 2011

awk

awk '{RS="\0"}/video server/' plugin-container.dmp

dir /b | awk -v q=\" {print\"mv\",q$0q,q$0q} | sed s/foo/bar/2 | cmd

References:
gnu.org/manual/gawk/html_node/Quoting.html
hints.macworld.com/article.php?story=20010509130450691
softpanorama.org/Tools/awk.shtml

No comments:

Post a Comment