How to run Bourne shell script on Unix.
Posted on 1997-10-01
I wrote a simple Bourne shell script to test, but I don't know how to run it on Unix system. Thanks for help. Mitsuru
# SHOWINFO: Bourne shell acript to display an information file
# If the information file exists, display its contents.
# Otherwise, if the files does not exist, but if an older version exists, display the older version.
# If neither file exists, display an error message
if [-f info]
echo "This information file has been found.";
elif [-f info.old]
echo "Only the old information file was found.";
echo "The information file was not found."