Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2014 11:40:00 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: shells/bash port, add a knob which symlinks to /bin/bash ?
Message-ID:  <54150E10.5040306@freebsd.org>
In-Reply-To: <CAG=rPVe83TH-Rj7aPwjHLKWcBEX4ES369FvUzz9nwVuj50qg9A@mail.gmail.com>
References:  <CAG=rPVf5z4c6aheCngKy1g-iH8HexAWGQfHoSbtU9D1UC0Pbpg@mail.gmail.com> <541367D1.8090002@FreeBSD.org> <CAG=rPVe83TH-Rj7aPwjHLKWcBEX4ES369FvUzz9nwVuj50qg9A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/14/14, 2:32 AM, Craig Rodrigues wrote:
> Technically, I agree with you that people should write portable shell
> scripts,
> and use #!/usr/bin/env bash rather than #!/bin/bash.
>
> Pushing that behavior upstream is not always practical these days, where
> FreeBSD is in the minority, while Linux and MacOS X are in the vast
> majority of where
> people are doing development and learning how to write shell scripts these
> days.
>
>
I agree with Craig here.
we can keep our code "pure" but the standard shell these days for 
everyone except us is /bin/bash.
There is nothing wrong with FreeSBD deciding that an industry standard 
should be adopted..

While I don't like it when people code stuff at work in bash instead 
of sh, I have to admit it has a lot of
advantages, and I can't really stop them..  It's getting more and more 
common so to some extent we should
probably hide our pride a bit and look at bash (and maybe vim) and 
giving them better standard support.

mailing the symlink is a really small thing.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54150E10.5040306>