Archive for 2005/05/18

Shell Hacks

Complex and inefficient shell snippets? Sign me up! Here’s my version: dselect update cat /var/lib/dpkg/available | sed -n ‘p;s/^.//p’ | sed ‘s/../&\ /g’ | tr A-Z a-z | grep ‘[a-z][a-z]’ | sort | uniq -u It doesn’t quite match the original — having the letter pair appear twice for a single package will disqualify it, […]