libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: fix dollar handling in func_quote_for_expand [libtool--devo--1.


From: Gary V. Vaughan
Subject: Re: FYI: fix dollar handling in func_quote_for_expand [libtool--devo--1.0--patch-265]
Date: Fri, 22 Oct 2004 09:19:11 +0100
User-agent: Mozilla Thunderbird 0.8 (Macintosh/20040913)

Noah Misch wrote:
On Fri, Oct 22, 2004 at 09:01:16AM +0100, Gary V. Vaughan wrote:

Nope, there can be only one ^ anchored match :-)


$ echo 'foo
fork' | sed 's/^f/B/g'
Boo
Bork

sed is a line based tool, so the g refers to multiple occurences on
each line:

$ echo 'foo
fork' | sed 's,^f,B,'
Boo
Bork

Cheers,
        Gary.

--
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]