]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/printf.right
Imported from ../bash-2.05b.tar.gz.
[thirdparty/bash.git] / tests / printf.right
CommitLineData
cce855bc
JA
1printf: usage: printf format [arguments]
2printf: usage: printf format [arguments]
3 one
4one\ctwo
54\.2
6no newline now newline
7%
bb70624e
JA
8%
9%d
cce855bc
JA
10A
11unquoted
12unquoted quoted
13unquoted quoted
14this\&that
151 2 3 4 5
16onestring 0 0 0
17onestring 0 0 0.00
18--4.2 --
19--4.2 --
20--
21\081--
22-- A--
23-- A--
24A7
25A7
26A7
27A7
28A7
29--\"abcd\"--
30--\'abcd\'--
31--a\x--
7117c2d2 32./printf.tests: line 75: printf: missing hex digit for \x
cce855bc
JA
33--\x--
34----
35----
36--4.2
bb70624e
JA
37--4\.2--
38--\--
b72432fd
JA
39
40
cce855bc
JA
41 4.4BSD
42 4.4BSD
43 4.4BSD
44 4.4BSD
454.4BSD
464.4BSD
47 4.4BSD
48--4.4BSD --
49 4.
504.4
51--4.4BSD --
52255 255 255 0377 0xff 0xFF
53255 255 255 0377 0xff 0XFF
54255 255 255 0377 0xff 0xFF
55255 255 255 0377 0xff 0XFF
56 42
57 -42
58 42
59 -42
604.20
614.20
62 4.2
634.20
644.20
65 4.2
664.200000E+00
674.200000e+00
684.2E+00
694.2e+00
704.2
714.2
72 4.2
73 4.2
74115
75115
760163
770163
780x73
790X73
80115.00
81115.00
82-- abcd--
83-- abcd--
84-- abcdefghij--
85-- abcdefghij--
bb70624e
JA
86'abcd'
87\'abcd\'
88\abcd\
89\abcd\
9026
9126
9226
7117c2d2 93./printf.tests: line 201: printf: -v: invalid option
cce855bc 94printf: usage: printf format [arguments]
7117c2d2
JA
95./printf.tests: line 203: printf: `%10': missing format character
96./printf.tests: line 204: printf: `M': invalid format character
97ab./printf.tests: line 207: printf: `y': invalid format character
98./printf.tests: line 210: printf: GNU: invalid number
f73dda09 990
7117c2d2 100./printf.tests: line 211: printf: GNU: invalid number
f73dda09
JA
1010
102-
103(foo )(bar )
1040