Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 12:28:06 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Benjamin Braatz <sean@inmymind.de>
Cc:        David Armour <dfarmour@myrealbox.com>, freebsd-questions@freebsd.org
Subject:   Re: NEWBIE: how-to for feeding file to gnomealyzer.sh?
Message-ID:  <4332DB96.3010106@mac.com>
In-Reply-To: <5DFB81FA-4762-4879-9678-107D491277EF@inmymind.de>
References:  <200509212203.35549.dfarmour@myrealbox.com> <44oe6lb4na.fsf@be-well.ilk.org> <200509220849.35323.dfarmour@myrealbox.com> <5DFB81FA-4762-4879-9678-107D491277EF@inmymind.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Benjamin Braatz wrote:
> Am 22.09.2005 um 17:49 schrieb David Armour:
>> ... to presume further on your kindness, a follow-up question: i  believe
>> i have bash installed. should i replace "/bin/sh" above with
>> "/bin/bash" or does it make any difference?
> 
> Probably it wouldn't make too much of a difference, but the script was,
> if I see this correctly, designed to work with the Bourne shell (/bin/ sh)
> delivered with FreeBSD (i.e. installed in any case).

Yes, if the script is portable, sticking with /bin/sh is entirely reasonable, 
and ought to work just fine with Linux systems who have Bash as their /bin/sh.

> BTW, your installed bash is third-party software from FreeBSDs
> point of view (installed via ports or packages), and will hence be
> found in /usr/local/bin/bash, not in /bin/bash.

It's reasonable to make a symlink from /bin/bash to /usr/local/bin/bash, just 
so long as nothing tries to use Bash before /usr is mounted when the system 
starts up...

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4332DB96.3010106>