[lug] Output every xth line?

Joseph McDonald joem at uu.net
Fri Nov 21 19:46:13 MST 2003


> Which means that you could do:
> 
>    perl -nwe 'print if 2 .. 6;' /etc/passwd
> 

gulp. That's pretty awesome. There's so much going on behind
the scenes there, it's going to take a while to digest :)



More information about the LUG mailing list