> I just don't understand what "can split text into lines" is, do you mean that the selected fields can be split into lines?
Good question, I struggle to word it properly, any help is appreciated.
Assume a file (we will call it "input"), such as
first line here
followed by second line
You can use a delimiter and cut inside each line
e.g.
$ tuc -d ' ' -f 2 < input
line
by
or you can cut it "by lines", practically considering the whole file as your single "line" and using newline as delimiter
$ tuc -l -f 2 < input
followed by second line
If you want to remove a line, or keep something inbetween it can be more practical/intuitive than head/tail or sed