Quote:
Hello All,
I need to read the data inside one file who's format is ascii text. I got the file format when I use file command on the file.
file <filename>
filename ascii text
please help me on this.
Thanks
Actually, I am not sure about your requirement. Do you want a command to read ascii files on hpux?
If that's the case, you can do
# more <filename> - Read the file page by page.
# vi <filename> - Edit the file using vi editor (However, it shows the content)
# cat <filename> - Would print the content of a file.
I'm sorry if am talking something irrelevant to situation here since Jim has given a mini script. I wasnt sure, however, if you want to read the content of a file using a command the above should work.
-DB