nitter
Juli Baumler
@competentgirl
11 Oct 2010
tr -s "[:blank:]" " "<disklist | awk '/^#/{next};$NF ~ /{/{print $1" "$3" (filtered)"; next;}; $1 ~ /[0-9]/{print $1" "$2}' | sort -u
Hal Pomeranz
@hal_pomeranz
11 Oct 2010
Replying to
@competentgirl
@competentgirl
Assuming ORS is space (the default), just use commas instead of " " in your awk print expressions
Oct 11, 2010 · 9:19 PM UTC