|
|
|
|
|
by efaref
1834 days ago
|
|
cut usually doesn't do what you want it to do. Most of the time you want to split on sequences of whitespace (which may or may not be tabs, it's not easy to tell from the output of the program). cut doesn't let you do this, which is a shame, as it would've been a sensible default. It also does weird things like print out the whole row if there's no instance of the separator on the line. So because you can't trust cut to do what you want, you'll probably reach for something like awk '{print $3}' instead. |
|