From owner-freebsd-questions Mon Sep 30 22:49:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BC9D37B401 for ; Mon, 30 Sep 2002 22:49:40 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id BB5E743E77 for ; Mon, 30 Sep 2002 22:49:38 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 7193 invoked from network); 1 Oct 2002 05:49:36 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 1 Oct 2002 05:49:36 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 623A32FDAB2; Tue, 1 Oct 2002 07:49:00 +0200 (CEST) Date: Tue, 1 Oct 2002 07:49:00 +0200 From: Roman Neuhauser To: Dan Nelson Cc: freebsd-questions Subject: Re: set fnord foo Message-ID: <20021001054900.GX30361@freepuppy.bellavista.cz> Mail-Followup-To: Dan Nelson , freebsd-questions References: <20020930104434.GM30361@freepuppy.bellavista.cz> <20020930202647.GA7147@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020930202647.GA7147@dan.emsphone.com> User-Agent: Mutt/1.5.1i 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 # dnelson@allantgroup.com / 2002-09-30 15:26:47 -0500: > In the last episode (Sep 30), Roman Neuhauser said: > > could anyone tell me what $subject does? i can't find any > > explanation. man pages for sh(1) (freebsd) and bash(1) (linux) don't > > mention fnord. > > > > what does it do? > > The set command will set $1, $2, etc as though the arguments were > passed to the script itself on the commandline. So after a "set fnord > foo", you could do > > $ echo $# > 2 > $ echo $1 > fnord > $ echo $* > fnord foo > > As for what fnord does? It gives you a headache. yeah, i figured out i made a complete fool of myself after a bit more rtfming and googling (FOLDOC). now if i only knew why oh why is mkinstalldirs written this way. -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 7:43AM up 13 days, 14:58, 17 users, load averages: 0.08, 0.04, 0.01 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message