| usage: $0 file_2_change
| vi $1 << change_it
| # After changing the input file, which I can see change on the screen,
| # how do I get this changed file to stay changed once I leave the
| # korn shell invironment??
You aborted vi without saving the changes. That's the problem. It has
nothing to do with the shell environment.
vi $1 << \change_it
David W. Tamkin P. O. Box 3284 Skokie IL 60076-6284