mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 05:00:50 +02:00
commit bash-20200807 snapshot
This commit is contained in:
+5
-3
@@ -97,17 +97,17 @@ line 2 for history
|
||||
6 HISTFILE=$TMPDIR/newhistory
|
||||
7 echo displaying \$HISTFILE after history -a
|
||||
8 cat $HISTFILE
|
||||
./history.tests: line 89: fc: history specification out of range
|
||||
14 set -H
|
||||
1 for i in one two three; do echo $i; done
|
||||
15 echo line 2 for history
|
||||
16 unset HISTSIZE
|
||||
17 unset HISTFILE
|
||||
18 # no longer an out-of-range error
|
||||
aa ab ac
|
||||
echo xx xb xc
|
||||
xx xb xc
|
||||
echo 44 48 4c
|
||||
44 48 4c
|
||||
./history.tests: line 104: fc: no command found
|
||||
./history.tests: line 105: fc: no command found
|
||||
aa
|
||||
bb
|
||||
cc
|
||||
@@ -241,3 +241,5 @@ c
|
||||
d
|
||||
echo d
|
||||
d
|
||||
11 # other out-of-range behavior for future work
|
||||
12 fc -l 498 502
|
||||
|
||||
@@ -86,6 +86,7 @@ unset HISTFILE
|
||||
fc -l 4
|
||||
fc -l 4 8
|
||||
|
||||
# no longer an out-of-range error
|
||||
fc -l one=two three=four 502
|
||||
|
||||
history 4
|
||||
|
||||
@@ -32,3 +32,7 @@ fc -l -0
|
||||
|
||||
echo d
|
||||
fc -s 0
|
||||
|
||||
# other out-of-range behavior for future work
|
||||
fc -l 498 502
|
||||
fc -l 502 498
|
||||
|
||||
Reference in New Issue
Block a user