1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
set trace-commands on
# Test of miscellaneous commands:
# 'source', 'info args', 'show args', 'show warranty', 'show copying', etc.
#### *** GNU things...
# show warranty
show copying
#### and show...
set width 80
#### Invalid commands...
show badcommand
another-bad-command
show
show args
set args now is the time
show args
set misspelled 40
set listsize 40
set listsize bad
set annotate bad
set annotate 6
show annotate
set annotate 1
show listsize
show annotate
set width 40
show width
# set history size
# set history size 10
# show history
# show history save
# set history save off
# show history
# set history save on
# show history
#########################
#### Test 'show commands'...
# show commands
# show commands +
# show commands -5
# show commands 12
#########################
#### Test 'autoeval'...
set autoeval on
xx=1 ; declare -p xx
set autoeval off
xx=1 ; declare -p xx
quit
|