Performing an open/read, open/write

I'm trying to do two different things (converting an OpenVms .com to a ksh shell script): 1) open/read/err= 2) open/write/err=

Any help? I've found some things, but can't seem to find the correct way.

Suggest you use Perl or some other language instead of trying to use the shell for open/read/write of files -

  1. It would make more sense to you.
  2. It would make you a better admin.
  3. It would be easier as suggested by the responses to your inquiry.

The shell is not as powerful as OpenVMS in some aspects but more powerful than it in others. Using redirection, piping, and other tools will become easy after awhile. The only thing I found that I really missed was the search command which allowed you to search and see lines of code/data above/below the line you searched for.