ordering lines alphabetically
Hello all: I have a text with a list of file names, each one in a separated line. I would like to organize the names alphabetically. Can I do it in openoffice writer? How? Or what other programs can I use for this? Thanks, IG _________________________________________________________________________________ Karácsonyi és Akciós csengőhangok a megújult Sztarsms oldalon - http://www.sztarsms.hu
Hello, I'm not sure how you would do it in OpenOffice, but if it is just a plain text file you can use sort: cat filename | sort The sort man page has all the options. - Dave Parker Istvan Gabor wrote:
Hello all:
I have a text with a list of file names, each one in a separated line. I would like to organize the names alphabetically. Can I do it in openoffice writer? How? Or what other programs can I use for this? Thanks, IG
_________________________________________________________________________________ Karácsonyi és Akciós csengo"hangok a megújult Sztarsms oldalon - http://www.sztarsms.hu
-- Dave Parker Utica College Department of Integrated Information Technology Services Data Processing Office (315) 792-3229
David, Istvan, On Wednesday 21 December 2005 06:51, David A. Parker wrote:
Hello,
I'm not sure how you would do it in OpenOffice, but if it is just a plain text file you can use sort:
cat filename | sort
Again with the gratuitous piping and redundant processes. Sort takes file name arguments. It also has an in-place sorting option, if you like.
The sort man page has all the options.
Yes. And "apropos" / "man -k" can help lead a user to the functionality they seek.
- Dave Parker
On Wednesday 21 December 2005 06:48, Istvan Gabor wrote:
Can I do it in openoffice writer? How?
Yes. In the "Tools" menu is a "Sort..." command which activates a dialog that allows you to specify how you want to sort the file. It does not appear nearly as functional as the Gnu "sort" utility, but it may serve your needs. Randall Schulz
Randall R Schulz wrote:
David, Istvan,
On Wednesday 21 December 2005 06:51, David A. Parker wrote:
Hello,
I'm not sure how you would do it in OpenOffice, but if it is just a plain text file you can use sort:
cat filename | sort
Again with the gratuitous piping and redundant processes.
Sort takes file name arguments. It also has an in-place sorting option, if you like.
The sort man page has all the options.
Yes. And "apropos" / "man -k" can help lead a user to the functionality they seek.
- Dave Parker
On Wednesday 21 December 2005 06:48, Istvan Gabor wrote:
Can I do it in openoffice writer? How?
Yes. In the "Tools" menu is a "Sort..." command which activates a dialog that allows you to specify how you want to sort the file. It does not appear nearly as functional as the Gnu "sort" utility, but it may serve your needs.
Randall Schulz
My apologies for the unnecessary pipe, I wasn't thinking. Have I done this before? I just ask because you saud "Again...". - Dave -- Dave Parker Utica College Department of Integrated Information Technology Services Data Processing Office (315) 792-3229
David, On Wednesday 21 December 2005 07:40, David A. Parker wrote:
...
My apologies for the unnecessary pipe, I wasn't thinking. Have I done this before? I just ask because you said "Again...".
Probably not you, but it shows up repeatedly.
- Dave
RRS
* Istvan Gabor <suseuser04@freemail.hu> [12-21-05 09:49]:
I have a text with a list of file names, each one in a separated line. I would like to organize the names alphabetically.
man sort -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
Thank for the rally fast answers. sort works in this case well. IG _________________________________________________________________________________ Karácsonyi és Akciós csengőhangok a megújult Sztarsms oldalon - http://www.sztarsms.hu
participants (4)
-
David A. Parker
-
Istvan Gabor
-
Patrick Shanahan
-
Randall R Schulz