$ 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:[EMAIL PROTECTED] 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 |
- RE: Read/Write files from a script? Jean-Sebastien Pilon
- Re: Read/Write files from a script? Tony Terlecki
- Re: Read/Write files from a script? Mladen Adamovic
- Re: Read/Write files from a script? LeVA
- Re: Read/Write files from a script? Bob McGowan