On Mon, Jul 21, 2008 at 03:09:46PM -0500, David Kelly wrote: > On Mon, Jul 21, 2008 at 12:51:28PM -0700, Gary Kline wrote: > > > > i could do this kwik and dirty, and type in/fix any anomalies later, but > > it would be nice to know. > > > > I've already tried > > > > 1, /<CENTER> d > > > > and a other such. zip. > > % sed -e "1,/<CENTER>/d" < junk.in > junk.out >
im taking this off-list so i dont show any further ignorance.... but i've tried everything SED i can think of without direct success [1], but want to know *how* to delete from </CENTER> to EOF. sometimes sed spat out stderr messages, usually failed by printing the file to stdout. so when you have time, can you please show me? gary [1]. Indirectly, i used -e '/<\/CENTER>/d' (&c) to get rid of thee last 3 lines. Beats vi'ing 70+ times! -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"