Write file names into a file and sort

July 24, 2009 at 09:01:51
Specs: KSH
I have some html files.I need to read the first line of the files
<html version="3" type=" a.txt">
If the file is a.txt, I need to write the filename to a text file xx.txt and if file is b.txt,I need to write to a text file yy.txt.I am using KSH. So in the end I will have 2 files which have the list of all the files of 2 categories
Can any one let help on this?


See More: Write file names into a file and sort

Report •

July 24, 2009 at 11:43:37
This what you mean by KSH?


If so, try the Unix forum.


Report •
Related Solutions

Ask Question