ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] posix shell
Date: Wed, 5 Sep 2012 20:15:00 +0300
Message-ID: <201209052015.01601.ledest@gmail.com> (raw)
In-Reply-To: <20120905163827.GA32630@dad.imath.kiev.ua>

On Wednesday 05 September 2012 19:38:28 Igor Vlasenko wrote:
> On Wed, Sep 05, 2012 at 07:11:45PM +0300, Led wrote:
> > > И еще с #!/bin/bash засада,
> > > что тогда подхватывается пользовательский ~/.bashrc.
> >
> > Если это так - вешайте багу. Потому как ~/.bashrc должен "подхватываться"
> > только интерактивным bash'ем (согласно документации).
>
> Это не баг, а фича :) см.
> https://bugzilla.altlinux.org/show_bug.cgi?id=24205
>
> $ ./1.sh
> hi from .bashrc
> hi from ./1.sh
> $ cat 1.sh
> #!/bin/bash
> echo hi from $0
> $ tail -1 .bashrc
> echo hi from .bashrc

Это фича не bash'а, а ALT'а, в котором каждому в $HOME пихается .bash_profile 
c:

BASH_ENV=$HOME/.bashrc
export BASH_ENV

- что хотели, то и получили.

-- 
Led

  reply	other threads:[~2012-09-05 17:15 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 18:19 [devel] I: Repocop NMU phase 2 Igor Vlasenko
2012-09-04 18:57 ` Dmitry V. Levin
2012-09-04 19:01 ` Alexey Gladkov
2012-09-04 19:13   ` Igor Vlasenko
2012-09-04 19:31     ` Alexey Gladkov
2012-09-04 19:46       ` Igor Vlasenko
2012-09-04 19:56   ` Igor Vlasenko
2012-09-04 20:07     ` Alexey Gladkov
2012-09-04 20:13       ` Igor Vlasenko
2012-09-04 20:26         ` Alexey Gladkov
2012-09-04 20:39           ` Igor Vlasenko
2012-09-04 21:04             ` Alexey Gladkov
2012-09-04 21:15               ` Led
2012-09-04 21:28                 ` [devel] posix shell Alexey Gladkov
2012-09-05  4:58                   ` Ildar Mulyukov
2012-09-05  9:45                     ` Alexey Gladkov
2012-09-05 10:13                       ` [devel] [JT] " Michael Shigorin
2012-09-05 10:33                         ` Alexey Gladkov
2012-09-05 15:59                       ` [devel] " Igor Vlasenko
2012-09-05 16:11                         ` Led
2012-09-05 16:38                           ` Igor Vlasenko
2012-09-05 17:15                             ` Led [this message]
2012-09-05 20:49                               ` Michael Shigorin
2012-09-04 21:31                 ` [devel] I: Repocop NMU phase 2 Igor Vlasenko
2012-09-04 21:29               ` Igor Vlasenko
2012-09-04 21:42                 ` Alexey Gladkov
2012-09-04 21:52                   ` Igor Vlasenko
2012-09-04 22:07                   ` Michael Shigorin
2012-09-05 15:57                     ` Igor Vlasenko
2012-09-05 15:57                   ` Igor Vlasenko
2012-09-04 21:46             ` Alexey Gladkov
2012-09-04 20:12 ` Yuri N. Sedunov
2012-09-04 20:17   ` Igor Vlasenko
2012-09-05  2:41 ` REAL
2012-09-06 12:17 ` Igor Vlasenko
2012-09-06 12:26   ` Valery V. Inozemtsev
2012-09-06 12:30     ` Dmitry V. Levin
2012-09-06 12:31       ` Michael Shigorin
2012-09-06 12:36         ` REAL
2012-09-06 12:37         ` Dmitry V. Levin
2012-09-06 14:30           ` Igor Vlasenko
2012-09-06 17:21             ` Kirill Maslinsky
2012-09-06 17:45               ` Igor Vlasenko
2012-09-10 17:05             ` Igor Vlasenko
2012-09-10 19:52               ` Dmitry V. Levin
2012-09-11  9:00                 ` Igor Vlasenko
2012-09-10 20:32       ` Dmitry V. Levin
2012-09-11  9:08         ` Igor Vlasenko
2012-09-11 10:04           ` Dmitry V. Levin
2012-09-06 12:30     ` Igor Vlasenko
2012-09-06 19:02   ` Sergey Bolshakov

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=201209052015.01601.ledest@gmail.com \
    --to=ledest@gmail.com \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git