Please disregard the above question...but I do have another
This (I think) is a quick one...
How do I write a script so that I can input a variable?
For example: lets say I wanted to change directories to something within /Library/WebServer/
and my script was called "webserver" and had this inside it:
------
#!/bin/sh
cd /Library/WebServer/XXXXXXX
------
I want to change directories to something within /Library/WebServer (in this example "Logs") by typing:
./webserver -Logs
What do I need to replace the XXXXX with so that this works?
In this example, I want the result to change directories to /Library/WebServer/Logs.
I hope this is understandable. Thanks in advance...
[This message has been edited by anothermacguy (edited 11-11-2000).]