Linux/cut: Difference between revisions
< Linux
(Created page with "== String Manipulation == Chopping off the last field of each line? :: Free Tech Support from Ask Dave Taylor!: rev inputfile | cut -f2- | rev > outputfile awk '{$NF=""; p...") |
(No difference)
|
Latest revision as of 15:52, 25 January 2016
String Manipulation
Chopping off the last field of each line? :: Free Tech Support from Ask Dave Taylor!:
rev inputfile | cut -f2- | rev > outputfile awk '{$NF=""; print $0}'