|
|
|
|
|
by salmo
1834 days ago
|
|
I'll also make the inflammatory statement that people should just use sed and awk in shell scripts and leave Perl for when they really want to write Perl. It is weird to me the number of times 90's Linux Distros used Perl for things that are easy in awk, awk for things that are easy with cut, and other commands for things that are easy with POSIX shell baked-in facilities. I guess I'm just a shell snob. |
|
So because you can't trust cut to do what you want, you'll probably reach for something like awk '{print $3}' instead.