On Thu, 28 May 1998 [EMAIL PROTECTED] wrote:
->> I found out the equivalent of DOS' "%1" is "$1" in Linux, but "ls
->>$1" doesn't work...
->
->You are correct. What do you mean by "doesn't work"?... Do you have
->
-> #!/bin/sh
-> ls $1
->
->Has it a protection mask of 755? (chmod 755 myscript). If it is in the
->current directory, rather than a directory on the PATH (may I suggest
->/usr/local/bin for things like this), then you will have to type ./myscript
->to run it.
->
<snip>
Hmmmm...
First mistake was because of a wrong statement in the script. Next problem
is that it still doesn't work - even with chmod 755 and the dir in the
path - I still have to type ./myscript. Then it works okay. What's the
deal on this? Why doesn't it accept the PATH statement?
Zoki.
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ZOKI
Creation d'images & traitement numerique
Image creation & digital tweaking
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
Please support the Linux/UNIX community.
Mailed with Linux 2.0.31 and Pine
%% Fin de message / End of message %%
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.