Files
CS361-Computer-Systems-II/p1-sh/tests/expected/C_cut_bad.txt
T

16 lines
369 B
Plaintext
Raw Normal View History

2026-05-31 14:34:00 -04:00
$ ./bin/cut -f -1 cut_data/data.spaces
cut, splits each line based on a delimiter
usage: cut [FLAG] FILE
FLAG can be:
-d C split each line based on the character C (default ' ')
-f N print the Nth field (1 is first, default 1)
If no FILE specified, read from STDIN
$ ./bin/cut -f 3 cut_data/data.spaces
me
$ ./bin/cut -d , -f 5 cut_data/data.csv
$ quit