revilord
Programmer
- Oct 2, 2003
- 64
I am trying to read a preferences file to use with a program. I am using ksh script. The file looks something like this.
EDITOR vi
PRINTER hp
DIR MyDirectory
...
I can write to the file but many attempts to read the preferences into variables have failed. Has anyone done this before. I am not having any luck.
EDITOR vi
PRINTER hp
DIR MyDirectory
...
I can write to the file but many attempts to read the preferences into variables have failed. Has anyone done this before. I am not having any luck.