El día Wednesday, August 18, 2010 a las 09:22:37AM -0500, Jack L. Stone 
escribió:

> At 10:53 AM 8.18.2010 -0300, A. Wright wrote:
> >On Wed, 18 Aug 2010, Jack L. Stone wrote:
> >
> >> The content I need will always fall beneath a row of pound signs, and there
> >> is content above that row I don't want, like this:
> >>
> >> bunch of rows I don't need here
> >> ############################### <--- the top of stuff needed
> >> row1
> >
> >
> >If you want the '#' line in the output
> >     cat YourFile | sed -n -e '/#####/,$p'
> >
> >If you don't, then
> >     cat YourFile | sed -e '1,/#####/d'
...

http://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat

:-)

        matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <g...@unixarea.de> - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to