Re: shells/bash port, add a knob which symlinks to /bin/bash ?

From: Julian Elischer <julian_at_freebsd.org>
Date: Sun, 14 Sep 2014 11:40:00 +0800
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.
Received on Sun Sep 14 2014 - 01:40:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC