projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported from ../bash-3.1.tar.gz.
[platform/upstream/bash.git]
/
tests
/
read.right
1
a.
2
-a-b-
3
-a-b -
4
-a b-
5
-a b-
6
-a-b\-
7
-a b\-
8
-\-a b\-
9
-\ a b\-
10
-\-a b\-
11
-\ a b\-
12
argv[1] = <^A>
13
argv[1] = <^A>
14
argv[1] = <^?>
15
argv[1] = <^?>
16
argv[1] = <abcd>
17
1: x[A] y[B] z[]
18
1a:
19
2: x[A B]
20
[A B ]
21
[ A B ]
22
==aa==
23
====
24
====
25
argv[1] = < foo>
26
argv[1] = < foo>
27
argv[1] = <foo>
28
argv[1] = < foo>
29
argv[1] = <foo>
30
argv[1] = <foo>
31
argv[1] = < foo>
32
a = abcdefg
33
a = xyz
34
a = -xyz 123-
35
a = abc
36
1
37
4
38
1
39
4
40
./read2.sub: line 13: read: -3: invalid timeout specification
41
1
42
4
43
abcde
44
./read3.sub: line 4: read: -1: invalid number
45
abc
46
ab
47
#
48
while read -u 3 var
49
do
50
echo "$var"
51
done 3<$0
52
argv[1] = <>
53
argv[1] = <>
54
argv[1] = <>
55
FOO
56
argv[1] = <>
57
argv[1] = <3>
58
argv[1] = <>
59
argv[2] = <>
60
argv[3] = <>
61
FOO
62
0 0 0