Date: Tue, 8 Aug 2000 04:13:18 +0200 (CEST) From: Cyrille Lefevre <root@gits.dyndns.org> To: sheldonh@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/20449: strange behaviour of sed 's/ */ /' w/ or w/o g Message-ID: <200008080213.EAA45474@gits.dyndns.org> In-Reply-To: <200008070859.BAA36261@freefall.freebsd.org> "from sheldonh@FreeBSD.org at Aug 7, 2000 01:59:08 am"
next in thread | previous in thread | raw e-mail | index | archive | help
sheldonh@FreeBSD.org wrote: > Synopsis: strange behaviour of sed 's/ */ /' w/ or w/o g > > State-Changed-From-To: open->closed > State-Changed-By: sheldonh > State-Changed-When: Mon Aug 7 01:58:24 PDT 2000 > State-Changed-Why: > You've shown us some examples of sed(1) doing the right thign. > If you need help with regular expressions, there are some pretty > keen beans on the freebsd-questions mailing list. :-) > > http://www.freebsd.org/cgi/query-pr.cgi?pr=20449 thanks, while I don't really need help w/ re :) I was just disapointed about these results and guessed it was a bug. today, I made the same tests under some other platforms (Solaris, HP-UX, IRIX) which gives me the same results. sorry about the PR. next time, I'll turn my tong 7 times in my mouth before to send a PR like this one :) so, the right way to do what I want is something like sed 's/ \{1,\}/ /' Cyrille. -- home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008080213.EAA45474>