text manipulation with columns

From: DENNIS BYRNE <asdcb1@uaa.alaska.edu>
Date: Mon May 03 2004 - 08:45:12 AKDT

Let's say I have a comma-delimited data set in a text file:

a,67,12/12/1212
b,8,1/1/1111
v,-12,3/3/2004

how do I manipulate the column order so I can get:

a,12/12/1212,67
b,1/1/1111,8
v,3/3/2004,-12

Furthermore, what would be a good way to wrap each date field with
hyphens?

Dennis Byrne

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon May 3 08:43:27 2004

This archive was generated by hypermail 2.1.8 : Mon May 03 2004 - 08:43:29 AKDT