quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] Non-portable sed command in find_patch


From: John Vandenberg
Subject: Re: [Quilt-dev] Non-portable sed command in find_patch
Date: Thu, 22 Sep 2005 06:11:54 +1000

On 9/22/05, Jean Delvare <address@hidden> wrote:
> Hi all,
>
> There is a non-portable sed command used in the find_patch function:
>
> sed -e "/^$bre\(\|\.patch\|\.diff\?\)\(\|\.gz\|\.bz2\)\([ "$'\t'"]\|$\)/!d"
>
> I would like to replace it with something more portable. I have a
> replacement based on grep, see below. Is everyone fine with this? It
> has the drawback of running two commands where only one was needed
> before. Would a awk replacement be prefered?

Hi Jean,

Here it is an old patch that does this in one command.

http://zeroj.hda0.net/quilt-patches/compat-osx-sed.diff

Does that work for you?

Cheers,
John




reply via email to

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