Is there any bash command that will let you get the nth line of STDOUT?
That is to say, something that would take this
$ ls -l -rw-r--r--@ 1 root wh
For more completeness..
ls -l | (for ((x=0;x<2;x++)) ; do read ; done ; head -n1)
Throw away lines until you get to the second, then print out the first line after that. So, it prints the 3rd line.
If it's just the second line..
ls -l | (read; head -n1)
Put as many 'read's as necessary.