Skip to content
Archive of entries posted on 15th September 2008

Linux awk command

Have you ever had a column-oriented text file, similar to a spreadsheet, but the columns weren\’t in the order you wanted? For instance, suppose you had the following information in a file named \”checkbook.orig\”: COST         DATE            BALANCE 10.00         040198           1000.00 20.00         040298             980.00 30.00         040298             950.00     The information is good, but you\’d prefer to [...]