Separate names with a comma.
Discussion in 'Mac Basics and Help' started by scan, Feb 6, 2006.
how would I pipe head, tail, and grep together to search for something from line 11-17 of a file?
( head -17 | tail -7 | grep whatever ) < filespec
What do I win?
an A on his homework....
I'd give that a D for not checking that there are 17 lines in there
since when does the overworked grad student care about error checking
damn, i was so close. I just didn't redirect the file. thanks