unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: liliana.prikler@student.tugraz
Cc: Chris Marusich <cmmarusich@gmail.com>, 23118@debbugs.gnu.org
Subject: bug#23118: Duplicate entries in various environment variables
Date: Fri, 07 Oct 2022 21:51:26 -0400	[thread overview]
Message-ID: <87fsfz3wwx.fsf@gmail.com> (raw)
In-Reply-To: <6ca9bc2b5bb96b0ea6740c3412d6aa4379d553e9.camel@student.tugraz.at> (Leo Prikler's message of "Thu, 03 Dec 2020 11:58:39 +0100")

Hi,

[...]

> More generally, this can become an issue when environment variables
> reach a certain size (and has led to bug reports in Guix before, which
> have since been fixed).  POSIX mandates a syntax, that would allow
> removing already present components first (see [1]), but I can hardly
> imagine what monstrosities we would need to cook up to do this
> reliably.  Not to mention, that some otherwise POSIX-compliant shells
> might not implement that syntax (correctly).

Why are we talking about POSIX here?  Our wrap-program procedure makes
use of Bash; we could make use of its features to filter duplicates,
right?  Unless I'm missing something.

-- 
Thanks,
Maxim




      reply	other threads:[~2022-10-08  1:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-26  3:59 bug#23118: Duplicate entries in various environment variables Chris Marusich
2016-03-26 18:53 ` Ludovic Courtès
2016-03-28 17:53   ` Leo Famulari
2020-12-03 10:58 ` Leo Prikler
2022-10-08  1:51   ` Maxim Cournoyer [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fsfz3wwx.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=23118@debbugs.gnu.org \
    --cc=cmmarusich@gmail.com \
    --cc=liliana.prikler@student.tugraz \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).