Re: [execline] Conditional export

From: Petr Vaněk <arkamar_at_atlas.cz>
Date: Fri, 24 Mar 2023 10:51:34 +0100

On Thu, Mar 23, 2023 at 03:19:21PM +0000, Laurent Bercot wrote:
>
> I'm going to regret this.
>
> ifthenelse -s { eltest -f ${FILE} } { export EXISTS ${FILE} } { }
> env

This is something I was originally looking for but did not know it is
possible. Anyway, I'll stick with backitck -x, it is well documented and
few extra calls on the path are not an issue.

Thanks!
Petr
Received on Fri Mar 24 2023 - 10:51:34 CET

This archive was generated by hypermail 2.4.0 : Fri Mar 24 2023 - 10:52:06 CET