summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-01-24 21:06:42 +0200
committerVille Skyttä <ville.skytta@iki.fi>2010-03-06 14:24:57 +0200
commit314cc0f13a9c8001f73e52bc00c1b8183f9d701e (patch)
tree1b8d72a3fe88193f8bd12a8a863fa6274b58d10f /README
parentbc6f14445f26043c1c89cbb25caebe394fb7b03b (diff)
downloadbash-completion-314cc0f13a9c8001f73e52bc00c1b8183f9d701e.tar.gz
Drop support for bash < 3.2.
Diffstat (limited to 'README')
-rw-r--r--README36
1 files changed, 3 insertions, 33 deletions
diff --git a/README b/README
index 4ee9a4ea..725678ac 100644
--- a/README
+++ b/README
@@ -12,7 +12,7 @@ if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
-(if you happen to have *only* bash >= 3, see further if not)
+(if you happen to have *only* bash >= 3.2 installed, see further if not)
If you don't have the package readily available for your distribution, or
you simply don't want to do this, put the bash_completion file somewhere
@@ -98,36 +98,6 @@ function used by mutt completion, where the function calls itself
recursively. This seems to confuse bash and it issues spurious
warnings if 'nounset' is set.
-V.
-
-After upgrading to bash 3.1, you may notice that completing on certain
-commands now fails with a message something like this:
-
- sed: -e expression #1, char 20: unterminated `s' command
-
-The reason for this is that bash 3.1 contains the following,
-innocent-looking bug fix (from bash's CHANGES file):
-
- t. Fixed a bug that caused the expanded value of a $'...' string
- to be incorrectly re-quoted if it occurred within a
- double-quoted ${...} parameter expansion.
-
-Unfortunately, this also had the side effect of causing single quotes
-to be stripped from $'...' strings inside double-quoted command
-substitutions. Confused?
-
-Efforts have been made to work around this issue in the bash
-completion code as of the 20060301 release. All previous versions are
-vulnerable to the problem. However, it's possible that, even in the
-20060301 release and later, affected code remains.
-
-The issue has now been officially recognised as a regression in the
-bash 3.1 release and is fixed by official patch 11. If you encounter
-problems of this nature, please apply the patch below to your copy of
-bash:
-
- ftp://ftp.gnu.org/gnu/bash/bash-3.1-patches/bash31-011
-
FAQ
---
@@ -318,10 +288,10 @@ guidelines in mind:
start interpreters. Use lightweight programs such as grep(1), awk(1)
and sed(1).
-- Use the full power of bash >= 3. We no longer support earlier bash
+- Use the full power of bash >= 3.2. We no longer support earlier bash
versions, so you may as well use all the features of that version of
bash to optimise your code. However, be careful when using features
- added since bash 3.0, since not everyone will be able to use them. Be
+ added since bash 3.2, since not everyone will be able to use them. Be
ESPECIALLY careful of using features exclusive to 4.x, as many people
are still using 3.x.