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
closescreen via Digitalmars-d-learn Thu, 20 Jul 2017 02:31:16 -0700
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