From owner-freebsd-questions Tue Dec 14 19:58:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from logisticsoftware.co.nz (logisticsoftware.co.nz [202.37.163.1]) by hub.freebsd.org (Postfix) with ESMTP id 4DCFA15375 for ; Tue, 14 Dec 1999 19:58:17 -0800 (PST) (envelope-from jonc@logisticsoftware.co.nz) Received: from jonc.logisticsoftware.co.nz (jonc.logisticsoftware.co.nz [10.1.3.1]) by logisticsoftware.co.nz (8.9.3/8.9.3) with ESMTP id QAA24777; Wed, 15 Dec 1999 16:58:08 +1300 (NZDT) Received: (from jonc@localhost) by jonc.logisticsoftware.co.nz (8.9.3/8.9.3) id QAA11323; Wed, 15 Dec 1999 16:58:07 +1300 (NZDT) (envelope-from jonc) Date: Wed, 15 Dec 1999 16:58:07 +1300 From: Jonathan Chen To: m Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Manual for the rc files? Message-ID: <19991215165807.B10613@jonc.logisticsoftware.co.nz> References: <19991215034153.866FB639EE@zagnut.hotpop.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991215034153.866FB639EE@zagnut.hotpop.com>; from kamidesu@hotpop.com on Tue, Dec 14, 1999 at 10:41:53PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 14, 1999 at 10:41:53PM -0500, m wrote: > > Merry Xmas. > > Where is the manual or the guide to learn this "script" language? -f, > $, x$1, etc. Thanks. Bye. > > if [ -f /etc/defaults/rc.conf ]; then > if [ "x$1" != "x" ]; then > if [ "x$firewall_quiet" = "xYES" ]; then > $fwcmd add divert natd all from any to any via ${natd_interface} Try: `man sh', `man test'. "[" is linked to test(1). Jonathan Chen ---------------------------------------------------------------------- When the character of a man is not clear to you, look at his friends. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message