quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] help text \t garbled


From: Greg Edwards
Subject: Re: [Quilt-dev] help text \t garbled
Date: Wed, 21 Apr 2004 14:12:23 -0500
User-agent: Mutt/1.5.5.1+cvs20040105i

On Wed, Apr 21, 2004 at 08:44:07PM +0200, Andreas Gruenbacher wrote:
| On Wed, 2004-04-21 at 20:25, Randy.Dunlap wrote:
| >     quilt_commands \
| >     | sort \
| >     | column | column -t \
| >     | sed -e 's/^/\t/'
| > 
| > Changing to /\\t/ doesn't help.  Changing to '  ' does.
| > How should it be fixed?
| 
| I see -- there are some versions of sed that don't understand '\t'.
| Since bash is mandatory for quilt, a proper fix would be $'\t'. I'll fix
| it.

Here's another one.

Greg

--- scripts/patchfns.in.orig    Fri Apr  2 13:33:33 2004
+++ scripts/patchfns.in Fri Apr  2 13:37:31 2004
@@ -441,8 +441,8 @@
        then
                local patch="${1#$QUILT_PATCHES/}"
                local bre=$(quote_bre "$patch")
-               set -- $(sed -e 
"/^$bre\(\|\.patch\|\.diff\?\)\(\|\.gz\|\.bz2\)\([ \t]\|$\)/!d" \
-                              -e 's/[ \t].*//' $SERIES)
+               set -- $(sed -e 
"/^$bre\(\|\.patch\|\.diff\?\)\(\|\.gz\|\.bz2\)\([ "$'\t'"]\|$\)/!d" \
+                              -e 's/[ '$'\t''].*//' $SERIES)
                if [ $# -eq 1 ]
                then
                        echo $1




reply via email to

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