Well, I broke it! FreeBSD V8.1 release

Jerry freebsd.user at seibercom.net
Wed Dec 22 15:15:07 UTC 2010


On Wed, 22 Dec 2010 09:49:46 -0500
Chris Brennan <xaero at xaerolimit.net> articulated:

> On Wed, Dec 22, 2010 at 8:07 AM, Bruce Cran <bruce at cran.org.uk> wrote:
> 
> > On Wed, 22 Dec 2010 11:01:10 -0000
> > "Dave" <dave at g8kbv.demon.co.uk> wrote:
> >
> > > Sysinstall alows you to select and enable one, but not remove it!
> > >
> > > Bit of an oversight that I suspect....
> >
> > Fixed in r216651 :)
> 
> IIRC ';' isn't a valid bash comment ... (which has been previously
> discussed elsewhere). It's usually safer to use '#' for  comment
> in /etc/rc.conf and other system config files as they typically use
> BASH style structs.

If you want to insert a really long comment block:

: << IMPORTANT

 mumble bla bla bla ...

IMPORTANT

You can pretty much put anything you want between the:
: << IMPORTANT
	and
IMPORTANT

tags. You don't have to use "IMPORTANT" either. It works with
Bash; however, I am unsure of how it works with other shells. Unless
you have a really long comment block, I think the "#" syntax is easier
to use. Plus, I don't know if it would even work in an "rc" file.

-- 
Jerry ✌
FreeBSD.user at seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________
When taxes are due, Americans tend to feel quite bled-white and blue.


More information about the freebsd-questions mailing list