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

Re: OT: Makefile & sed-Problem



> Oliver Elphick <olly@lfix.co.uk> [2003-10-06 14:09]:
>
> On Mon, 2003-10-06 at 12:31, Lukas Ruf wrote:
> 
> You are trying to use a Perl regular expression with sed; that doesn't
> work.  Although the sed manpage refers to perlre, sed does not seem to
> support Perl regular expressions.  You should look at
>   man 7 regexp
> instead.

ok, didn't know this.  Thanks!

> 
> Try:  sed -r -e 's/[[:space:]]+$$//'
> 

Thanks this worked as expected!

wbr,
Lukas
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP?  <http://www.rawip.org>   |



Reply to: