[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] changed permissions on .pc/applied-patches
From: |
Jean Delvare |
Subject: |
Re: [Quilt-dev] changed permissions on .pc/applied-patches |
Date: |
Thu, 1 Sep 2005 11:37:29 +0200 (CEST) |
Hi Jerome,
[Jerome Lacoste]
> if tmpfile=$(gen_tempfile)
> then
> grep -v -E "^$(quote_re $patch)\$" $DB > $tmpfile
> - mv -f $tmpfile $DB
> + cat $tmpfile > $DB
>
> You could maybe directly pipe into $DB at once
Since we are already reading from $DB, I doubt it would work reliably.
--
Jean Delvare