From owner-freebsd-questions Thu Aug 16 22:52: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc25.worldnet.att.net (mtiwmhc25.worldnet.att.net [204.127.131.50]) by hub.freebsd.org (Postfix) with ESMTP id D63F837B411 for ; Thu, 16 Aug 2001 22:52:00 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.100.199.202]) by mtiwmhc25.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010817055159.PHFA5127.mtiwmhc25.worldnet.att.net@worldnet.att.net> for ; Fri, 17 Aug 2001 05:51:59 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id 22E4650F46; Fri, 17 Aug 2001 01:52:01 -0400 (EDT) Date: Fri, 17 Aug 2001 01:52:01 -0400 From: parv To: f-q Subject: long options in shell script Message-ID: <20010817015201.A26996@moo.holy.cow> Mail-Followup-To: f-q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 got tired of making symlinks to a script and behaving depending on basename. so i am searching for a way to implement long options (bourne shell). does anybody have short example or where to find one? another question, is it possible to write "module" in bourne shell and be usable in other sh scripts? -- so, do you like word games or scrabble? - parv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message