add links to sed and awk one-liners
authorhttps://launchpad.net/~kralph <kralph@web>
Tue, 19 Jul 2011 17:40:39 +0000 (10:40 -0700)
committerKenyon Ralph <kenyon@kenyonralph.com>
Tue, 19 Jul 2011 17:40:39 +0000 (10:40 -0700)
One-liners.mdwn

index 9aa269f..1c2703d 100644 (file)
@@ -1,5 +1,7 @@
 [[!wikipedia one-liner program desc="One-liners"]] I have created or found useful.
 
+1. [sed one-liners](http://sed.sourceforge.net/sed1line.txt)
+1. [awk one-liners](http://www.pement.org/awk/awk1line.txt)
 1. Read numbered log files (as generated by [[!debpkg logrotate]]) sequentially: `less $(echo /var/log/all.log* | tr ' ' '\n' | sort --version-sort)`
 1. Make an IPv6 PTR record: `echo $(host 2001:470:1f05:4ef::999 | cut --delimiter=' ' --fields=2 | cut --delimiter=. --fields=1-16) IN PTR whatever.kenyonralph.com.`
 1. Find -doc packages that aren't installed: `aptitude search '~RBsuggests:~i!~i~n-doc'`