Date: Mon, 14 Aug 2000 23:23:32 +0100 From: Mark Ovens <marko@freebsd.org> To: R Joseph Wright <rjoseph@mammalia.org> Cc: freebsd-doc <freebsd-doc@freebsd.org> Subject: Re: error in documentation Message-ID: <20000814232332.A254@parish> In-Reply-To: <20000814134818.A35512@mammalia.org>; from rjoseph@mammalia.org on Mon, Aug 14, 2000 at 01:48:18PM -0700 References: <3997EE00.77988B82@wgate.com> <20000814194535.B254@parish> <20000814134818.A35512@mammalia.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 14, 2000 at 01:48:18PM -0700, R Joseph Wright wrote: > And Mark Ovens spoke: > > > BTW, can anyone explain why many (most?) people suggest running ``sh > > MAKEDEV <device>'' rather than ``./MAKEDEV <device'' (assuming both > > are preceded by ``cd /dev'')? > > It's to make sure that the MAKEDEV script is run by sh, and not whatever > shell you happen to be running, such as csh for example. > You snipped the rest of my post which said: The first line of /dev/MAKEDEV is: #!/bin/sh - so irrespective of which shell the user runs MAKEDEV from it will always be executed under sh(1). The first line exec(1)s sh(1) so MAKEDEV will always be run under sh(1) (if sh(1) doesn't exist, or isn't in $PATH, you get ``./MAKEDEV: Command not found.''). > Joseph > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-doc" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000814232332.A254>