Off topic: I search a tool to sort all lines in a textfile

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Off topic: I search a tool to sort all lines in a textfile

Post by *Sheepdog »

Does anybody know a free or shareware tool that opens a given text file and sorts all lines in alphabetical order ?


Thanks


sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Sheepdog
What about the sort console application in windows? :mrgreen:
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

EmEditor, an excellent text editor.
Two plugins of it can do alphabetical sorting, one for ascending order and one for descending order.
You can find this shareware along with its plugins here:
http://www.emeditor.com/
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6973
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Off topic: I search a tool to sort all lines in a textfi

Post by *Horst.Epp »

Use the free PSPad Editor
It has a lot of nice sort options.
http://www.pspad.com/en/index.html
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Yes, Horst.Epp is right, PSPad is really powerfull and it can easily sort text alphabetically.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
ben hub
Member
Member
Posts: 132
Joined: 2003-02-06, 21:47 UTC
Location: Madagascar

Post by *ben hub »

my suggestion:

type unsortedfile.txt | sort > sortedfile.txt
Benoît
# 4081
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Yes, TextPad has POWERFUL sort options.
I switched to Linux, bye and thanks for all the fish!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Thanks for all suggestions.

The command line solution with 'sort' is simple and came not to my mind. But it is not usable for me (as I found out while trying ) - because I dont need the sorting of the whole file but sorting of some sections.

After reading all the other proposals I found that Textpad should have such a sorting function. Since I use Textpad for at least two years it never occured to me that it could contain this feature. And after the hint I used the help and found out: it's true. :oops:

So thanks again for your suggestions - my problem is solved.


sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

TextPad is in one way similar to TC: it is loaded with features and still simple to use!
Sometimes here and there we find those "hidden" features just like in TC. :-)
I switched to Linux, bye and thanks for all the fish!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Yes partner, and we should remember from time to time to read help or as icfu would had said : RTFM

;) :lol:

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Which reads: Read The Fine Manual!
:-)
I switched to Linux, bye and thanks for all the fish!
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Post by *Clo »

2SanskritFritz
;) Wrong, it's Read The Famous Manual :)

Kind regards,
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Yes icfu always uses the refined language.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply