PDA

View Full Version : Looking for text sort program


K8ERV
01-31-2008, 07:08 PM
I know that WordPad does not sort, that WORD does. Looking for a program that will import (if necessary) a WordPad column, like a part number list, and sort it, then do or allow sending back into WordPad. Nothing complicated, just want to sort frequencies, part numbers, and the like.

I have searched to no avail. Must be something out there better than my brain.

TOM K8ERV Montrose Colo

tlamb@mesa.net

KI4ZSQ
01-31-2008, 07:28 PM
You should be able to use a spreadsheet program to do do that for you, or if you prefer, here is a link for Openoffice by Sun Microsystems...

www.openoffice.org (http://www.openoffice.org)

It is MS Office compatible, and completely free and open source. I use it in lieu of office. The Openoffice Writer will sort lists like Word under the menu item Tools->Sort

Give it a try.

KD8FFJ
01-31-2008, 07:57 PM
Could you attach an example of what it is you are trying to accomplish. There are a couple ways to accomplish sorting. MS Excel does an excellent job (and open office too).

There are also custom applictions that can be made (web based) that also accomplish this sorting task.

So to really help, need an example.

Cheers-
Keith KD8FFJ

AB8XA
01-31-2008, 08:14 PM
open a command window, cd to the directory where the file is and enter

sort input.txt > output.txt

Also try the command,

help sort

kl7aj
01-31-2008, 08:27 PM
You should be able to use a spreadsheet program to do do that for you, or if you prefer, here is a link for Openoffice by Sun Microsystems...

www.openoffice.org (http://www.openoffice.org)

It is MS Office compatible, and completely free and open source. I use it in lieu of office. The Openoffice Writer will sort lists like Word under the menu item Tools->Sort

Give it a try.


yeah, Excel or equivalent spreadsheet is the only way to go. Well, not the ONLY...but the only PRACTICAL way. :)

eric

kl7aj
01-31-2008, 08:29 PM
You can do this in emacs, too, but there's a real "lurning" curve if you're not a unix/linux geek.

(I wrote my first draft of Plasma Dreams in emacs).


Eric

K8ERV
01-31-2008, 09:51 PM
Many thanks to all who replied, but expecially to MOE, AB8XA, who came up with the simplest, just sort via a dos command line. Worked great!!

TOM K8ERV Montrose Colo

N0NB
01-31-2008, 11:25 PM
Perl.




You're welcome! ;)


Ahh, you figured it out already. Shucks. :p

KG6YTZ
02-01-2008, 09:03 AM
You should be able to use a spreadsheet program to do do that for you, or if you prefer, here is a link for Openoffice by Sun Microsystems...
You beat me to it. I was just about to say, "OpenOffice Writer can sort table columns, as I discovered a few months ago while making charts of my radios' programming." :)

Or, there's always the SORT filter at a command prompt... :D This does assume a plain ASCII text file, though.