GNU bug report logs - #16938
24.3.50; Support the Dash shell shebang and .[bd]sh file types

Previous Next

Package: emacs;

Reported by: John Yates <john <at> yates-sheets.org>

Date: Tue, 4 Mar 2014 18:15:03 UTC

Severity: wishlist

Found in version 24.3.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: John Yates <john <at> yates-sheets.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16938 <at> debbugs.gnu.org
Subject: bug#16938: 24.3.50; Support the Dash shell shebang and .[bd]sh file types
Date: Wed, 5 Mar 2014 08:21:03 -0500
[Message part 1 (text/plain, inline)]
Hi Glenn,

Thanks for the quick reply.

On Tue, Mar 4, 2014 at 9:47 PM, Glenn Morris <rgm <at> gnu.org> wrote:

> >      ("dash" . sh-mode)
>
> Sounds good.
>

That's the one that really matters to me as many (most?) of my scripts have
no file extension.

I've never come across .bsh and .dsh used as extensions in this way.
> I find zero examples on two random RHEL6, Debian testing machines.
> The only .bsh files are LibreOffice components that are not bash scripts.
> So this seems like something for your personal .emacs.
>

I guess I suggested .bsh and .dsh for completeness.  My first encounter
with .bsh was on my newest job.  I introduced .dsh once I started using a
#!/bin/dash shebang.  Given that you found a LibreOffice conflict I am
happy to withdraw my suggestion.

/john
[Message part 2 (text/html, inline)]

This bug report was last modified 11 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.