From owner-freebsd-doc Sun Feb 2 19:09:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA03723 for doc-outgoing; Sun, 2 Feb 1997 19:09:01 -0800 (PST) Received: from ami.tom.computerworks.net (root@AMI.RES.CMU.EDU [128.2.95.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA03711 for ; Sun, 2 Feb 1997 19:08:54 -0800 (PST) Received: from bonkers.taronga.com by ami.tom.computerworks.net with smtp (Smail3.1.29.1 #1) id m0vrElu-0021cWC; Sun, 2 Feb 97 22:08 EST Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id VAA10751; Sun, 2 Feb 1997 21:05:34 -0600 Date: Sun, 2 Feb 1997 21:05:34 -0600 From: peter@taronga.com (Peter da Silva) Message-Id: <199702030305.VAA10751@bonkers.taronga.com> To: mitch@hardware.com Subject: Re: Problem executing script from handbook129.html Newsgroups: taronga.freebsd.doc In-Reply-To: <32F50FCA.1450@hardware.com> Organization: none Cc: doc@freebsd.org Sender: owner-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <32F50FCA.1450@hardware.com> you write: >./disaster.floppy: 47: Syntax error: "&" unexpected ... >Have I done something wrong or do I need to change something? I'd like >to be >able to use this. :-) TIA You've done something wrong. You still have HTML damage in your code: > # > if [ ! -x /sys/compile/MINI/kernel ] > then > cat << EOM > The MINI kernel does not exist, please create one. > Here is an example config file: > # The "<" are HTML objects representing "<". Do a s/\</" wherever it occurs: > gzip -c -best /sbin/init > /mnt/sbin/init > gzip -c -best /sbin/fsck > /mnt/sbin/fsck > gzip -c -best /sbin/mount > /mnt/sbin/mount > gzip -c -best /sbin/halt > /mnt/sbin/halt > gzip -c -best /sbin/restore > /mnt/sbin/restore And replace "&" with "&": > root::0:0::0:0:Charlie &:/root:/bin/sh