File: setshow.cmd

package info (click to toggle)
zshdb 0.05%2Bgit20101031-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,104 kB
  • sloc: sh: 5,563; makefile: 337
file content (47 lines) | stat: -rw-r--r-- 898 bytes parent folder | download | duplicates (3)
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