File: dstack.right

package info (click to toggle)
bash 4.3-11%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 37,652 kB
  • ctags: 18,453
  • sloc: ansic: 99,503; sh: 6,836; yacc: 5,032; perl: 4,227; makefile: 4,197; asm: 48; awk: 23; sed: 16
file content (55 lines) | stat: -rw-r--r-- 1,285 bytes parent folder | download | duplicates (4)
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
54
55
./dstack.tests: line 6: pushd: /tmp/xxx-notthere: No such file or directory
./dstack.tests: line 9: pushd: no other directory
./dstack.tests: line 10: popd: directory stack empty
./dstack.tests: line 13: pushd: -m: invalid number
pushd: usage: pushd [-n] [+N | -N | dir]
./dstack.tests: line 14: popd: -m: invalid number
popd: usage: popd [-n] [+N | -N]
./dstack.tests: line 15: dirs: -m: invalid number
dirs: usage: dirs [-clpv] [+N] [-N]
./dstack.tests: line 16: dirs: 7: invalid option
dirs: usage: dirs [-clpv] [+N] [-N]
/
ok
/usr /
/usr /
/usr /
/usr /
/usr /
/
/usr /
/etc /usr /
/etc /usr /
/etc /usr /
 0  /etc
 1  /usr
 2  /
/usr /etc /
/etc /usr /
/tmp /etc /usr /
/tmp
/tmp
/usr
/usr
./dstack.tests: line 58: dirs: 9: directory stack index out of range
./dstack.tests: line 58: dirs: 9: directory stack index out of range
./dstack.tests: line 59: pushd: +9: directory stack index out of range
./dstack.tests: line 59: pushd: -9: directory stack index out of range
./dstack.tests: line 60: popd: +9: directory stack index out of range
./dstack.tests: line 60: popd: -9: directory stack index out of range
/tmp /etc /
/tmp /etc /
/tmp /etc /
/tmp /usr /etc /
/tmp
/tmp /usr /etc /
/tmp /usr /etc /
/tmp
/tmp /bin /etc /
/tmp
/tmp /bin /
/tmp
/bin / /tmp
/bin / /tmp
/bin
/bin