test: 04-word-at.
This commit is contained in:
parent
632295fa18
commit
39761c0087
1
check.sh
1
check.sh
|
@ -31,6 +31,7 @@ tests='
|
|||
|
||||
04-echo-var
|
||||
04-echo-equal
|
||||
04-echo-word-at
|
||||
|
||||
05-assignment
|
||||
05-assignment-echo
|
||||
|
|
|
@ -105,8 +105,8 @@
|
|||
(run ast)
|
||||
0))
|
||||
(((? string?) ..1) (exec (append-map glob args)))
|
||||
(((and (or (? string?)) c) ((and (? string?) a) ...))
|
||||
(exec (append-map glob (cons c a))))
|
||||
(((and (or (? string?)) c) ... ((and (? string?) a) ...))
|
||||
(apply command (append c a)))
|
||||
(_ (exec (append-map glob args)))))
|
||||
|
||||
(define (glob? pattern)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
echo command $@
|
|
@ -0,0 +1 @@
|
|||
command -s --long file0 file1
|
Loading…
Reference in New Issue