$ cat filename ß read the file $ echo ‘bob’ > filename ( [over]write
to the file ) Or $ echo ‘bob’ >> filename (
appends to the file ) From: Anil Gupte
[mailto:anil-list@icinema.com] Is there a shell command to read files? I want to open a
text file, loop through each line and parse the line of text. Also, as I am in learning mode, is there a way to write text files
from a script? Thanx, Anil Gupte |