]> git.pld-linux.org Git - packages/bzip2.git/blame - bzip2-bzgrep.patch
This commit was manufactured by cvs2git to create branch 'AC-branch'.
[packages/bzip2.git] / bzip2-bzgrep.patch
CommitLineData
31311b30
JB
1--- bzip2-1.0.4/bzgrep.orig 2007-01-03 03:00:55.000000000 +0100
2+++ bzip2-1.0.4/bzgrep 2007-01-12 14:30:06.518134000 +0100
3@@ -63,9 +63,7 @@
4 bzip2 -cdfq "$i" | $grep $opt "$pat"
5 r=$?
6 else
7- j=${i//\\/\\\\}
8- j=${j//|/\\|}
9- j=${j//&/\\&}
10+ j=$(echo "$i" | sed -e 's/\\/\\\\/g;s/|/\\|/g;s/&/\\&/g')
11 j=`printf "%s" "$j" | tr '\n' ' '`
12 bzip2 -cdfq "$i" | $grep $opt "$pat" | sed "s|^|${j}:|"
13 r=$?
This page took 0.094571 seconds and 4 git commands to generate.