Maybe,
ls $0 | more
Bye
----------
From: GateKeepeR News[SMTP:[EMAIL PROTECTED]]
Sent: Friday, May 29, 1998 5:57 AM
To: Zoki
Cc: The recipient's address is unknown.
Subject: Re: Scripts...
Umm, I just tried that and it seemed to work just fine..
On Thu, 28 May 1998, Zoki wrote:
|In DOS I use small batch files to express my lazyness and type as few
|commands as possible. Super practical. I want to do the same in Linux but
|I'm making a thinking mistake somewhere...
|
|Ex:
| Say I use this DOS batch file: "dir /p %1" named 2.bat! Then in
|DOS I just type "2 netscape" and get the netscape folder list page per
|page.
|
| I found out the equivalent of DOS' "%1" is "$1" in Linux, but "ls
|$1" doesn't work...
|
|To continue: What would be the right command for DOS' "copy %1 %2"?
|Obviously "cp...but then what?
|
|Heeeeeeeeeeeeeeeeelp...
|Zoki.
|
|/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
|ZOKI
|Creation d'images & traitement numerique
|Image creation & digital tweaking
|\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
|
|Support the Linux/UNIX community.
|
|%% 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.
|
--
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.
--
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.