There are still some more related issues:
$ cat command-line #!/usr/bin/env scheme-script (import (rnrs)) (write (command-line)) (newline)
Arguments to ikarus get split:
$ ./command-line foo "bar baz" ("./command-line" "foo" "bar baz") $ ikarus --r6rs-script command-line foo "bar baz" ("command-line" "foo" "bar" "baz") $ ikarus -- foo "bar baz" Ikarus Scheme version 0.0.3+ (revision 1579, build 2008-08-09) Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (command-line) ("*interactive*" "foo" "bar" "baz") >
ikarus --r6rs-script is not equivalent to scheme-script:
$ ./command-line -b ("./command-line" "-b") $ ikarus --r6rs-script command-line -b ikarus error: option -b requires a value, none provided ikarus -h for more help
I'm glad to investigate how to fix these.
There are still some more related issues:
$ cat command-line
#!/usr/bin/env scheme-script
(import (rnrs))
(write (command-line)) (newline)
Arguments to ikarus get split:
$ ./command-line foo "bar baz"
("./command-line" "foo" "bar baz")
$ ikarus --r6rs-script command-line foo "bar baz"
("command-line" "foo" "bar" "baz")
$ ikarus -- foo "bar baz"
Ikarus Scheme version 0.0.3+ (revision 1579, build 2008-08-09)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (command-line)
("*interactive*" "foo" "bar" "baz")
>
ikarus --r6rs-script is not equivalent to scheme-script:
$ ./command-line -b
("./command-line" "-b")
$ ikarus --r6rs-script command-line -b
ikarus error: option -b requires a value, none provided
ikarus -h for more help
I'm glad to investigate how to fix these.