Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16109
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Martin Schulte <gnu@schrader-schulte.de> |
| Newsgroups | gnu.bash.bug |
| Subject | First lines of examples/startup-files/bashrc |
| Date | Wed, 8 Apr 2020 23:42:41 +0200 |
| Lines | 21 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.376.1586382175.2644.bug-bash@gnu.org> (permalink) |
| References | <20200408234241.84fa2643163cc7ec3aedc6ef@schrader-schulte.de> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-Trace | usenet.stanford.edu 1586382175 13011 209.51.188.17 (8 Apr 2020 21:42:55 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| X-Mailer | Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] |
| X-Received-From | 51.15.128.4 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20200408234241.84fa2643163cc7ec3aedc6ef@schrader-schulte.de> |
| Xref | csiph.com gnu.bash.bug:16109 |
Show key headers only | View raw
Hello bash developers, my apologies in advance if I'm overlooking something trivial but I'm really wondering about the first lines in examples/startup-files/bashrc (which are copied to Debian's skeleton ~/.bashrc): case $- in *i*) ;; *) return ;; esac Well, bash terminates sourcing the file if it is invoked non-interactively. But, as far as I understand, a non-interactive bash doesn't read ~/.bashrc at all - so shouldn't we just omit them? Best regards, Martin
Back to gnu.bash.bug | Previous | Next | Find similar
First lines of examples/startup-files/bashrc Martin Schulte <gnu@schrader-schulte.de> - 2020-04-08 23:42 +0200
csiph-web