mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 10:12:38 +02:00
commit bash-20200825 snapshot
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
BUILD_DIR=/usr/local/build/chet/bash/bash-current
|
||||
BUILD_DIR=/usr/local/build/bash/bash-current
|
||||
THIS_SH=$BUILD_DIR/bash
|
||||
PATH=$PATH:$BUILD_DIR
|
||||
|
||||
|
||||
+23
-2
@@ -241,5 +241,26 @@ c
|
||||
d
|
||||
echo d
|
||||
d
|
||||
11 # other out-of-range behavior for future work
|
||||
12 fc -l 498 502
|
||||
a
|
||||
b
|
||||
c
|
||||
d
|
||||
e
|
||||
f
|
||||
4 echo d
|
||||
5 echo e
|
||||
6 echo f
|
||||
out of range 1
|
||||
6 echo f
|
||||
7 fc -l
|
||||
8 echo out of range 1
|
||||
out of range 2
|
||||
8 echo out of range 1
|
||||
9 fc -l 502 498
|
||||
10 echo out of range 2
|
||||
out of range 3
|
||||
10 echo out of range 2
|
||||
11 fc -l 498 502
|
||||
12 echo out of range 3
|
||||
out of range 4
|
||||
13 fc -l 1 99
|
||||
|
||||
+20
-3
@@ -14,7 +14,7 @@
|
||||
|
||||
trap 'rm -f $HISTFILE' 0 1 2 3 6 15
|
||||
|
||||
HISTFILE=$TMPDIR/foohist-$$
|
||||
HISTFILE=$TMPDIR/fchist-$$
|
||||
unset HISTIGNORE HISTCONTROL
|
||||
set -o history
|
||||
|
||||
@@ -33,6 +33,23 @@ fc -l -0
|
||||
echo d
|
||||
fc -s 0
|
||||
|
||||
# other out-of-range behavior for future work
|
||||
fc -l 498 502
|
||||
HISTSIZE=4
|
||||
history -c
|
||||
|
||||
echo a
|
||||
echo b
|
||||
echo c
|
||||
echo d
|
||||
echo e
|
||||
echo f
|
||||
fc -l
|
||||
|
||||
echo out of range 1
|
||||
fc -l 502 498
|
||||
echo out of range 2
|
||||
fc -l 498 502
|
||||
echo out of range 3
|
||||
fc -l 1 99
|
||||
# other out-of-range behavior for future work
|
||||
echo out of range 4
|
||||
fc -l -20 -40
|
||||
|
||||
Reference in New Issue
Block a user