diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2004-04-21 18:52:53 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2004-04-21 18:52:53 +0000 |
commit | 15a8af0c8ed6a2a5a16cc81e9164e970ecef82d3 (patch) | |
tree | ff2ae8a8e9a5b6626fff5a5374818ffcdc12a257 | |
parent | 3f590f388c4cdb16c12770be7b0358128b614a36 (diff) | |
download | quilt-15a8af0c8ed6a2a5a16cc81e9164e970ecef82d3.tar.gz |
- Replace two occurrences of \t in sed regular expressions
with bash $'\t': Some older versions of sed don't understand
\t. Thanks to Randy Dunlap <rddunlap@osdl.org> for reporting
this.
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | bin/quilt.in | 2 | ||||
-rw-r--r-- | quilt.changes | 8 | ||||
-rw-r--r-- | scripts/patchfns.in | 4 |
4 files changed, 13 insertions, 3 deletions
@@ -1,3 +1,5 @@ +-> Describe how to work with hard-linked trees + General: - Abstract backup operations to/from the .pc/ directory, so that diff --git a/bin/quilt.in b/bin/quilt.in index 10738a1..3dcd5a3 100644 --- a/bin/quilt.in +++ b/bin/quilt.in @@ -28,7 +28,7 @@ usage() quilt_commands \ | sort \ | column | column -t \ - | sed -e 's/^/\t/' + | sed -e $'s/^/\t/' exit 1 } diff --git a/quilt.changes b/quilt.changes index fac13d3..8bb2f2c 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Wed Apr 21 20:50:23 CEST 2004 - agruen@suse.de + +- Replace two occurrences of \t in sed regular expressions + with bash $'\t': Some older versions of sed don't understand + \t. Thanks to Randy Dunlap <rddunlap@osdl.org> for reporting + this. + +------------------------------------------------------------------- Sat Mar 20 18:04:01 CET 2004 - agruen@suse.de - Fix an algorithmic bug in `quilt graph --lines': Edges were diff --git a/scripts/patchfns.in b/scripts/patchfns.in index afca43c..5d909a3 100644 --- a/scripts/patchfns.in +++ b/scripts/patchfns.in @@ -436,8 +436,8 @@ find_patch() 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 |