How to exchange two columns in a table?

Tim Chase blinux.list at thechases.com
Sat Jan 6 14:58:58 UTC 2007


I think you'll have to provide a few more details:

1) where is the table?  In a spreadsheet?  In a database?  In a 
text-file?

2) If it's a spreadsheet or database, what flavor? (Gnumeric? 
Siag?  SC?  Oleo?  OpenOffice.org?  KOffice?  MySQL?  PostgreSQL? 
  SQLite? etc)

3) If it's just a text file, how are columns determined?  Is it a 
CSV file? (and if so, how is character escaping/quoting done?) 
Is it a tab-delimited file?  Are the columns positional? (i.e. 
columns 1 through 10 are the first field, 11 through 15 are the 
next, etc)

With the extra details, it should be pretty easy to find a solution.

-tim






More information about the Blinux-list mailing list