From owner-freebsd-questions Tue Sep 25 14:13:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gaia.host4u.net (gaia.host4u.net [209.150.128.48]) by hub.freebsd.org (Postfix) with ESMTP id AD2E737B401 for ; Tue, 25 Sep 2001 14:13:20 -0700 (PDT) Received: from support03 ([216.71.43.117]) by gaia.host4u.net (8.8.5/8.8.5) with SMTP id PAA24620 for ; Tue, 25 Sep 2001 15:52:49 -0500 Message-ID: <034001c14606$e6c4f4a0$a50410ac@olmct.net> Reply-To: "Andre` Niel Cameron" From: "Andre` Niel Cameron" To: "free bsd" Subject: Shell scripting help please:) Date: Tue, 25 Sep 2001 17:13:19 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a question. If I want to make a script so I can put on the command line, install formmail bob how would the two command line options be represented in the script? with formmail bieng the script and bob bieng the user? IE install formmail bob //begin script %1=formmail %2=bob cd /usr/local/scripts/ cp %1.tar /home/%2/www/cgi-bin/%1.tar cd /home/%2/www/cgi-bin tar xvf %1.tar chmod -Rf 755 *.pl rm -f %1.tar cd back/to/original.directory //exit script Anyone wanna help me out?:) Thanx Regards, Andre` C. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message