On Monday, 13 August 2012 at 15:36:15 UTC, jerro wrote:
Rdmd already has this functionality with the --eval flag. You are supposed to pass the code as a command line parameter, but you can use it with files like this:cat - test.d <<< "--eval=" | xargs -0 rdmd
Wow, no wonder I never found it handy in Windows...