Pipes and streams
hardpar 1 commandRead one line, not the file
Print the first line of big.txt. The answer is graded on what it read as well as what it printed — a pipeline that reads the whole file does not pass.
Goal
0 / 1 commands
Print the first line of big.txt without reading the rest of it.
- ·Reads at most 200 bytes
- ·Starts at most 1 process
- ·Puts the answer on standard output
$
| Mode | Links | Size | Name |
|---|---|---|---|
| -rw-r--r-- | 1 | 4004 | big.txt |