diff --git a/asino.d b/asino.d index fe5f766..dffc13d 100644 --- a/asino.d +++ b/asino.d @@ -52,7 +52,7 @@ main (string[] args) string[] toProcess = void; if(isaTTY()){ // read stdin, ignore cli args - toProcess = to!(string[])(stdin.byLine().array()); + toProcess = to!(string[])(File("/dev/stdin").byLineCopy.array()); } else { toProcess = args[1 .. $]; // remove program name }