Hello,
I've downloaded and decompressed the bash-4.0 tarball, and downloaded
bash40-001 through bash40-028 into a subdirectory bash-4.0/patches,
using:

bash $ tar xzvf bash-4.0.tar.gz
bash $ cd bash-4.0
bash-4.0 $ mkdir patches
bash-4.0 $ # line breaks added for clarity to you, the reader
for i in {001..028}; do
echo "### OPERATING ON PATCH $i  ###"
lynx <proxy> -dump -width=1000 
http://ftp.gnu.org/gnu.bash/bash-4.0-patches/bash40-$i
> patches/bash40-$i;
patch -p0 < patches/bash40-$i
done


Now I start to get some nasty output.
### OPERATING ON PATCH 001 ###
patching file parse.y
Hunk #1 succeeded at 2932 with fuzz 2.
Hunk #2 succeeded at 3276 with fuzz 1.
Hunk #5 FAILED at 3442.
1 out of 4 hunks FAILED -- saving rejects to file parse.y.rej
patching file patchlevel.h
...
...
...

At least one "hunk" fails on every patch file.  What am I doing wrong?

Thanks,
-Alex

Reply via email to