dash.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: Makarius <makarius@sketis.net>
Cc: Olof Johansson <olof@ethup.se>, dash@vger.kernel.org
Subject: Re: dash drops exported bash functions
Date: Thu, 11 Feb 2016 14:46:37 +0000	[thread overview]
Message-ID: <20160211144637.GA15471@chaz.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1602111526570.44882@lxbroy10.informatik.tu-muenchen.de>

2016-02-11 15:30:59 +0100, Makarius:
[...]
> The problem is a deeper one, though: export -f in bash no longer
> works for systems that have /bin/sh -> dash (i.e. Debian and
> Ubuntu).
[...]

Note that pdksh/posh/mksh also strip those variables which it
can't map to shell variable names (and have for decades).

-- 
Stephane

  reply	other threads:[~2016-02-11 14:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11  3:53 dash drops exported bash functions Makarius
2016-02-11 12:15 ` Makarius
2016-02-11 13:40   ` Makarius
2016-02-11 14:19     ` Olof Johansson
2016-02-11 14:30       ` Makarius
2016-02-11 14:46         ` Stephane Chazelas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-10 15:18 Joachim Breitner
2016-02-10 15:54 ` Eric Blake
2016-02-10 16:31   ` Joachim Breitner

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=20160211144637.GA15471@chaz.gmail.com \
    --to=stephane.chazelas@gmail.com \
    --cc=dash@vger.kernel.org \
    --cc=makarius@sketis.net \
    --cc=olof@ethup.se \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).