From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephane Chazelas Subject: Re: dash drops exported bash functions Date: Thu, 11 Feb 2016 14:46:37 +0000 Message-ID: <20160211144637.GA15471@chaz.gmail.com> References: <20160211141936.GC17349@brutus.ethup.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-wm0-f43.google.com ([74.125.82.43]:33319 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725AbcBKOql (ORCPT ); Thu, 11 Feb 2016 09:46:41 -0500 Received: by mail-wm0-f43.google.com with SMTP id g62so24370549wme.0 for ; Thu, 11 Feb 2016 06:46:40 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: dash-owner@vger.kernel.org List-Id: dash@vger.kernel.org To: Makarius Cc: Olof Johansson , dash@vger.kernel.org 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