From: David Michael <fedora.dm0@gmail.com>
To: 8745@debbugs.gnu.org
Subject: bug#8745: Enhancement Request: Support for restricted bash interpreter scripts
Date: Fri, 27 May 2011 13:31:10 -0400 [thread overview]
Message-ID: <BANLkTinQ3Qxt4WFsSCrxdLghMCf_O_O-Cw@mail.gmail.com> (raw)
Hi,
When bash is invoked with the name "rbash", it starts a restricted
shell (same as "bash -r"). This interpreter name is not recognized
and therefore sh-mode is not enabled when editing restricted scripts.
The following patch is specifically what I am requesting.
Thanks
*** lisp/files.el.orig 2011-02-18 18:16:54.000000000 -0500
--- lisp/files.el 2011-05-27 13:09:19.058670776 -0400
*************** and `magic-mode-alist', which determines
*** 2396,2401 ****
--- 2396,2402 ----
("ksh" . sh-mode)
("oash" . sh-mode)
("pdksh" . sh-mode)
+ ("rbash" . sh-mode)
("rc" . sh-mode)
("rpm" . sh-mode)
("sh" . sh-mode)
next reply other threads:[~2011-05-27 17:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 17:31 David Michael [this message]
2011-05-27 19:34 ` bug#8745: Enhancement Request: Support for restricted bash interpreter scripts Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTinQ3Qxt4WFsSCrxdLghMCf_O_O-Cw@mail.gmail.com \
--to=fedora.dm0@gmail.com \
--cc=8745@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.