12 argv[1] = <foo 'bar' baz>
15 argv[1] = <foo ax{{{}b c d{} bar>
26 <.> <x> <.> <> <.> <x> <.>
27 <x> <.> <w> <.> <x> <.> <w> <.>
28 <x> <.> <w> <.> <x> <.> <w> <.>
29 <x> <.> <w> <.> <x> <.> <w> <.>
30 <.> <w> <.> <> <.> <w> <.>
31 <.> <w> <.> <> <.> <w> <.>
32 <x> <.> <x> <.> <x> <.> <x> <.>
33 <x> <.> <w> <.> <x> <.> <w> <.>
34 <x> <.> <w> <.> <x> <.> <w> <.>
35 <x> <.> <w> <.> <x> <.> <w> <.>
37 argv[1] = <foo 'bar baz>
99 argv[1] = < abc def ghi jkl >
107 argv[1] = < abc def ghi jkl >
108 argv[1] = < abc def ghi jkl >
113 argv[1] = < abc def ghi jkl >
114 argv[1] = < abc def ghi jkl >
116 001: IFS = (unset): unset -v foo; set -- ${foo=$*}
117 soh stx etx del / soh stx etx del
119 002: IFS = (unset): unset -v foo; set -- ${foo="$*"}
120 soh stx etx del / soh stx etx del
122 003: IFS = (unset): unset -v foo; set -- "${foo=$*}"
123 soh stx etx del / soh stx etx del
125 004: IFS = (unset): foo=; set -- ${foo:=$*}
126 soh stx etx del / soh stx etx del
128 005: IFS = (unset): foo=; set -- ${foo:="$*"}
129 soh stx etx del / soh stx etx del
131 006: IFS = (unset): foo=; set -- "${foo:=$*}"
132 soh stx etx del / soh stx etx del
134 007: IFS = (unset): unset -v foo; set -- ${foo=$@}
135 soh stx etx del / soh stx etx del
137 008: IFS = (unset): unset -v foo; set -- ${foo="$@"}
138 soh stx etx del / soh stx etx del
140 009: IFS = (unset): unset -v foo; set -- "${foo=$@}"
141 soh stx etx del / soh stx etx del
143 010: IFS = (unset): foo=; set -- ${foo:=$@}
144 soh stx etx del / soh stx etx del
146 011: IFS = (unset): foo=; set -- ${foo:="$@"}
147 soh stx etx del / soh stx etx del
149 012: IFS = (unset): foo=; set -- "${foo:=$@}"
150 soh stx etx del / soh stx etx del
152 013: IFS = (null): unset -v foo; set -- ${foo=$*}
153 soh stx etx del / soh stx etx del
155 014: IFS = (null): unset -v foo; set -- ${foo="$*"}
156 soh stx etx del / soh stx etx del
158 015: IFS = (null): unset -v foo; set -- "${foo=$*}"
159 soh stx etx del / soh stx etx del
161 016: IFS = (null): foo=; set -- ${foo:=$*}
162 soh stx etx del / soh stx etx del
164 017: IFS = (null): foo=; set -- ${foo:="$*"}
165 soh stx etx del / soh stx etx del
167 018: IFS = (null): foo=; set -- "${foo:=$*}"
168 soh stx etx del / soh stx etx del
170 019: IFS = (null): unset -v foo; set -- ${foo=$@}
171 soh stx etx del / soh stx etx del
173 020: IFS = (null): unset -v foo; set -- ${foo="$@"}
174 soh stx etx del / soh stx etx del
176 021: IFS = (null): unset -v foo; set -- "${foo=$@}"
177 soh stx etx del / soh stx etx del
179 022: IFS = (null): foo=; set -- ${foo:=$@}
180 soh stx etx del / soh stx etx del
182 023: IFS = (null): foo=; set -- ${foo:="$@"}
183 soh stx etx del / soh stx etx del
185 024: IFS = (null): foo=; set -- "${foo:=$@}"
186 soh stx etx del / soh stx etx del
188 025: IFS = x: unset -v foo; set -- ${foo=$*}
189 soh stx etx del / soh stx etx del
191 026: IFS = x: unset -v foo; set -- ${foo="$*"}
192 soh stx etx del / soh stx etx del
194 027: IFS = x: unset -v foo; set -- "${foo=$*}"
195 soh stx etx del / soh stx etx del
197 028: IFS = x: foo=; set -- ${foo:=$*}
198 soh stx etx del / soh stx etx del
200 029: IFS = x: foo=; set -- ${foo:="$*"}
201 soh stx etx del / soh stx etx del
203 030: IFS = x: foo=; set -- "${foo:=$*}"
204 soh stx etx del / soh stx etx del
206 031: IFS = x: unset -v foo; set -- ${foo=$@}
207 soh stx etx del / soh stx etx del
209 032: IFS = x: unset -v foo; set -- ${foo="$@"}
210 soh stx etx del / soh stx etx del
212 033: IFS = x: unset -v foo; set -- "${foo=$@}"
213 soh stx etx del / soh stx etx del
215 034: IFS = x: foo=; set -- ${foo:=$@}
216 soh stx etx del / soh stx etx del
218 035: IFS = x: foo=; set -- ${foo:="$@"}
219 soh stx etx del / soh stx etx del
221 036: IFS = x: foo=; set -- "${foo:=$@}"
222 soh stx etx del / soh stx etx del
224 037: IFS = sp ht nl: unset -v foo; set -- ${foo=$*}
225 soh stx etx del / soh stx etx del
227 038: IFS = sp ht nl: unset -v foo; set -- ${foo="$*"}
228 soh stx etx del / soh stx etx del
230 039: IFS = sp ht nl: unset -v foo; set -- "${foo=$*}"
231 soh stx etx del / soh stx etx del
233 040: IFS = sp ht nl: foo=; set -- ${foo:=$*}
234 soh stx etx del / soh stx etx del
236 041: IFS = sp ht nl: foo=; set -- ${foo:="$*"}
237 soh stx etx del / soh stx etx del
239 042: IFS = sp ht nl: foo=; set -- "${foo:=$*}"
240 soh stx etx del / soh stx etx del
242 043: IFS = sp ht nl: unset -v foo; set -- ${foo=$@}
243 soh stx etx del / soh stx etx del
245 044: IFS = sp ht nl: unset -v foo; set -- ${foo="$@"}
246 soh stx etx del / soh stx etx del
248 045: IFS = sp ht nl: unset -v foo; set -- "${foo=$@}"
249 soh stx etx del / soh stx etx del
251 046: IFS = sp ht nl: foo=; set -- ${foo:=$@}
252 soh stx etx del / soh stx etx del
254 047: IFS = sp ht nl: foo=; set -- ${foo:="$@"}
255 soh stx etx del / soh stx etx del
257 048: IFS = sp ht nl: foo=; set -- "${foo:=$@}"
258 soh stx etx del / soh stx etx del
275 [ abc def ghi jkl / abc def ghi jkl ]
277 [ abc def ghi jkl / abc def ghi jkl / abc def ghi jkl ]
287 ./posixexp.tests: line 97: unexpected EOF while looking for matching `}'
288 ./posixexp.tests: line 98: syntax error: unexpected end of file