File: setshow.cmd

package info (click to toggle)
bashdb 4.0.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,820 kB
  • ctags: 942
  • sloc: sh: 10,581; lisp: 885; makefile: 449; ansic: 325
file content (53 lines) | stat: -rw-r--r-- 964 bytes parent folder | download | duplicates (2)
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
48
49
50
51
52
53
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
set history size 256
#### Invalid commands...
show badcommand
another-bad-command
show
show args
set args now is the time
show args
set editing off
set editing fooo
show editing
set editing
show editing
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