42-archive/42sh/42shelltest-tmp/support/read-on-stdin-once/description
2017-03-18 01:30:28 +01:00

1 line
295 B
Text

A binary that reads 1024 bytes on standard entry and write each line on standard output suffixed with the character `@` (e.g. same behavior as `cat -e` and the *newline* character). When `read(2)` returns `-1`, then the string `STDIN READ ERROR` is written on standard error. Reads only a once.