Ensure that redirecting input to stdin is no different than a normal file. Likewise outputting to stdout should be no different than outputting to a file.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/test/tools/llvm-objcopy/ELF/standard-streams.test | ||
---|---|---|
4 | cmp ? and the same below |
Comment Actions
Neat! I didn't even know this was possible TBH
llvm/test/tools/llvm-objcopy/ELF/standard-streams.test | ||
---|---|---|
1 | Instead of using cat you can just redirect the file in. |
Comment Actions
LGTM, with one nit.
llvm/test/tools/llvm-objcopy/ELF/standard-streams.test | ||
---|---|---|
8 | Delete this blank line. There should be a single trailing new line character at the end of the last line in the file with content, but nothing after that. |
Instead of using cat you can just redirect the file in.