← Back to context Comment by pimlottc 7 hours ago You can (usually) specify the input file name as “-“ (single hyphen) to read from stdin 2 comments pimlottc Reply mlegendre 4 hours ago Or you can use `/dev/stdin`, which has the upside of not needing tool support.I somewhat regularly use this on Linux. I think it also works on OS X mlegendre 3 hours ago And conversely, `/dev/stdout` (resp. `/dev/stderr`) is a convenient way to "redirect" output to stdout (resp stderr) instead of a file
mlegendre 4 hours ago Or you can use `/dev/stdin`, which has the upside of not needing tool support.I somewhat regularly use this on Linux. I think it also works on OS X mlegendre 3 hours ago And conversely, `/dev/stdout` (resp. `/dev/stderr`) is a convenient way to "redirect" output to stdout (resp stderr) instead of a file
mlegendre 3 hours ago And conversely, `/dev/stdout` (resp. `/dev/stderr`) is a convenient way to "redirect" output to stdout (resp stderr) instead of a file
Or you can use `/dev/stdin`, which has the upside of not needing tool support.
I somewhat regularly use this on Linux. I think it also works on OS X
And conversely, `/dev/stdout` (resp. `/dev/stderr`) is a convenient way to "redirect" output to stdout (resp stderr) instead of a file