July 20, 2017 Commandline args to rdmd --eval=... | ||||
|---|---|---|---|---|
| ||||
Hello, all.
Is it possible to pass cli args to rdmd eval-program?
F.e. if I try:
rdmd --eval="args.writeln" -- 123
then: Cannot have both --eval and a program file ('123')
In perl it's possible:
perl -e'print join ",", @ARGV' 123 234
# 123,234
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply