[Top][All Lists]

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

Re: sed...u error

From: Bruno Haible
Subject: Re: sed...u error
Date: Wed, 11 Jul 2007 00:12:13 +0200
User-agent: KMail/1.5.4

Karl Berry wrote:
> Anyway, using something other than / as the delimiter fixes the problem:
> 1445c1445
> <              | sed -e '/^'"${includefile}"'$/d' \
> ---
> >              | sed -e '\|^'"${includefile}"'$|d' \
> Bruno, shall I apply that, or is there a better way?

This is perfect. The other solution
    | sed -e '/^'`echo "${includefile}" | sed -e 's,/,\\\\/`'$/d' \
is not so pretty.

Can you please apply it? Thanks.


reply via email to

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