3 ms·
Ref. your $ tuc -d ' ' -f 2 < input how is different from $ cut -d ' ' -f 2 input ?
by I_complete_me 4y ago
Ref. your $ tuc -d ' ' -f 2 < input how is different from $ cut -d ' ' -f 2 input ?
- riquito 4y ago> Ref. your $ tuc -d ' ' -f 2 < input how is different from $ cut -d ' ' -f 2 input ? It's not. `tuc` is a superset of cut and in that particular example there's no difference. If you wanted instead to cut on multibyte delimiters, or on a random amount of spaces, `tuc` would work, while `cut` would fall short
- I_complete_me 4y agoI was responding in good faith to your response "Good question, I struggle to word it properly, any help is appreciated." You answered masklinn's with an implementation of your tool that `cut` would also do. That is what I was highlighting. I was not trying to belittle your utility, I have even installed it. But I also don't communicate perfectly so we'll call it evens?
- riquito 4y agoDon't worry, I was in good faith too, it's hard to convey some things sometime. I tried to answer masklinn's question with a simple example, didn't really think about whether it would have showcased tuc or not. Thanks for trying it out!