Date: Tue, 1 Oct 2002 07:49:00 +0200 From: Roman Neuhauser <neuhauser@bellavista.cz> To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: set fnord foo Message-ID: <20021001054900.GX30361@freepuppy.bellavista.cz> In-Reply-To: <20020930202647.GA7147@dan.emsphone.com> References: <20020930104434.GM30361@freepuppy.bellavista.cz> <20020930202647.GA7147@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
# 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021001054900.GX30361>