Re: sed problem

2010-09-29 Thread lhmwzy
Both are working. Thk very much. 2010/9/29 Wayne Sierke : > On Wed, 2010-09-29 at 17:43 +0800, lhmwzy wrote: >> #%sed -e '/GROUP/{/Test/! d}' test >> sed: 1: "/GROUP/{/Test/! d} >> ": extra characters at the end of d command >> also have error. >> the system: >> #uname -a >> FreeBSD bxzxfreebsd.sl

Re: sed problem

2010-09-29 Thread Wayne Sierke
On Wed, 2010-09-29 at 17:43 +0800, lhmwzy wrote: > #%sed -e '/GROUP/{/Test/! d}' test > sed: 1: "/GROUP/{/Test/! d} > ": extra characters at the end of d command > also have error. > the system: > #uname -a > FreeBSD bxzxfreebsd.slof.com 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #1: > Fri Dec 4 17:58:

Re: sed problem

2010-09-29 Thread lhmwzy
#%sed -e '/GROUP/{/Test/! d}' test sed: 1: "/GROUP/{/Test/! d} ": extra characters at the end of d command also have error. the system: #uname -a FreeBSD bxzxfreebsd.slof.com 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #1: Fri Dec 4 17:58:13 CST 2009 l...@bxzxfreebsd.slof.com:/usr/obj/usr/src/sys/lhmwzy

Re: sed problem

2005-08-28 Thread Rein Kadastik
Well, I managed to do the source compilation after all. In the 4.11-RELEASE there are three components that use sed to generate sources: ncurses (lib_gen.c), csh/tcsh (tc.const.h) and gdb (init.c). I just created those files on another system and replaced the corresponding lines in Makefiles wi

Re: sed problem

2005-08-28 Thread freebsd-questions
Hi, > So I guess I need some advice here what to do next. I would not like to > make a full reinstall (otherwise I would have done that already long tme I'd suggest investigating the option of performing a binary upgrade to a supported 4.x release - this would likely present no more risk to your