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?