On 03/09/10 20:53, Ken Moffat wrote:
> On 3 September 2010 19:59, Andrew Benton<[email protected]>  wrote:
>>
>> This is shorter:
>> sed -i 's/T])d/T])[]d/' pkg.m4
>>
>> --
>   Only changes the first one.  Anyway, Bruce's version works.
>

I think you'll find that that sed works as well. However, this one has 
the same effect as the one Bruce has committed to the book:

sed -i '/XT\|kt/s:)d:)[]d:' pkg.m4

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to