Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@EdBoatConnoisseur @karna @theorytoe @skylar It's good stuff but almost all of it goes back to v7, not just Linux stuff. Maybe worth noting, he keeps typing '{print $1":"$2":"$3":"$4}' and you can just '{OFS=":"; print $1, $2, $3, $4}' and it comes out a little more readable, and most of what he uses head/tail for you can just use sed to do, so his `head -n 20 | tail -n 10` to get lines 11-20 would just be `sed -n 11,20p`. I think it's interesting that people keep getting surprised by this stuff, you know? Like, this was the point of Unix: you could do this kind of thing ad hoc.