I have a txt file named test: USER Added by ftpadmin GENERAL 0,0 120 204800 0 LOGINS 1 0 -1 -1 TIMEFRAME 0 0 FLAGS 3 TAGLINE lanshu4385 DIR / ADDED 1284812614 ftpadmin EXPIRES 0 CREDITS 15000 RATIO 0 ALLUP 0 0 0 ALLDN 0 0 0 WKUP 0 0 0 WKDN 0 0 0 DAYUP 0 0 0 DAYDN 0 0 0 MONTHUP 0 0 0 MONTHDN 0 0 0 NUKE 0 0 0 TIME 0 1284812614 0 0 GROUP Teest 0 GROUP eest 0 GROUP dTeest 0 GROUP tTeest 0 GROUP Test 0 IP *...@*
when I use the follow command: #sed -e '/GROUP/{/Test/}! d' test then output error: sed: 1: "/GROUP/{/Test/}! d ": command } expects up to 0 address(es), found 1 But this command under linux is OK,how can I do? _______________________________________________ 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"