From unknown Sat Aug 16 18:48:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17528: [mktemp] Not a bug.... a feature proposal Resent-From: Matthieu Fronton Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 19 May 2014 15:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17528 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 17528@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.140051360520102 (code B ref -1); Mon, 19 May 2014 15:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 May 2014 15:33:25 +0000 Received: from localhost ([127.0.0.1]:53214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmPZ2-0005E6-Tm for submit@debbugs.gnu.org; Mon, 19 May 2014 11:33:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37300) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmNcf-0001w3-2j for submit@debbugs.gnu.org; Mon, 19 May 2014 09:29:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmNcT-0007eC-Qa for submit@debbugs.gnu.org; Mon, 19 May 2014 09:28:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmNcT-0007e8-Np for submit@debbugs.gnu.org; Mon, 19 May 2014 09:28:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmNcN-0000bA-Dm for bug-coreutils@gnu.org; Mon, 19 May 2014 09:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmNcH-0007bh-FB for bug-coreutils@gnu.org; Mon, 19 May 2014 09:28:39 -0400 Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:44065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmNcH-0007bN-76 for bug-coreutils@gnu.org; Mon, 19 May 2014 09:28:33 -0400 Received: by mail-la0-f43.google.com with SMTP id mc6so4063717lab.16 for ; Mon, 19 May 2014 06:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tthieu.fr; s=frntn; h=mime-version:from:date:message-id:subject:to:content-type; bh=15bvjxRQ4yNbPEI5weuTEcaNPjqF1ZNJ0Pw245kVbog=; b=S+buhN3oc/Vl9v4jma1O/k6hJ7D3S7Cfrm2T5eSOJNWsTpQt0SzefukFaTXyRsJlTi Jg0lkGItssAeCaFDd4/at3Wo82lo/gh3aXghsa6YHVDEn0g5REvKjYyhuQaz5DJnNt+R CocEsEb8OrEIj8mR0pxbNOTeP8a4f66BkqFGA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=15bvjxRQ4yNbPEI5weuTEcaNPjqF1ZNJ0Pw245kVbog=; b=l82cII3CvMiVUFPWmKB3Ze9c1GBqI2PNH8GLRCwx3kNVmnXOR0DZNAcRTvyVoNieAe 48z7GVn4nSoK1VOHRyD2X1i1WBZFkr8lk8ND17ZPmaCczCZvOfCGGOQ/S6QEgsCuohBX wR9R0g2m+if4dRio45U3yVf01+HzK9VpyDqELefLU8as1JuhXR44z7FCY8dRoX/Yvc1x KDVK2z+zE+KMmve0UOm98FJc1Pruhygk896P/3CYIWxlTwq/BJJPKv/RJaXqx93SkDIg q7Ix9+dieGdQlmjThlIQPr+jndrnuUU30vxVIulZbZzkXG7O7aPUP7a7/+ulznAGQU0M XD5Q== X-Gm-Message-State: ALoCoQmryOeKT+qZQnYTr+9Ud1WQTqy2iFMvj2IXwpl4toJbQKqzx9rYWyC37bMElcpAybjqByfc X-Received: by 10.152.4.1 with SMTP id g1mr26788947lag.20.1400506111225; Mon, 19 May 2014 06:28:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.113.3.165 with HTTP; Mon, 19 May 2014 06:27:50 -0700 (PDT) X-Originating-IP: [130.193.24.135] From: Matthieu Fronton Date: Mon, 19 May 2014 15:27:50 +0200 Message-ID: Content-Type: multipart/alternative; boundary=089e0141a0a644048e04f9c0bd12 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Mon, 19 May 2014 11:33:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --089e0141a0a644048e04f9c0bd12 Content-Type: text/plain; charset=UTF-8 Hello, First i'd like to apologize because this message is about for a new feature proposal, not a bug. I send it to the only mail I have found in the man page. Sorry for that. I just wanted to propose to add the last generate temporary file's full path in a predefined environment variable. I can create a patch or send a pull request but I'll first need to know where your source code is and how can we contribute, even for these kind of tiny little feature. Regards, Matthieu Fronton. --089e0141a0a644048e04f9c0bd12 Content-Type: text/html; charset=UTF-8
Hello,

First i'd like to apologize because this message is about for a new feature
proposal, not a bug.
I send it to the only mail I have found in the man page. Sorry for that.

I just wanted to propose to add the last generate temporary file's full path
in a predefined environment variable.
I can create a patch or send a pull request but I'll first need to know
where your source code is and how can we contribute, even for these kind of
tiny little feature.

Regards,
Matthieu Fronton.

--089e0141a0a644048e04f9c0bd12-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 19 12:08:32 2014 Received: (at control) by debbugs.gnu.org; 19 May 2014 16:08:32 +0000 Received: from localhost ([127.0.0.1]:53263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmQ75-0007Ns-LD for submit@debbugs.gnu.org; Mon, 19 May 2014 12:08:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64835) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmQ72-0007Nd-7T; Mon, 19 May 2014 12:08:29 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4JG8PgX012471 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 May 2014 12:08:25 -0400 Received: from [10.3.113.91] (ovpn-113-91.phx2.redhat.com [10.3.113.91]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s4JG8PJa029216; Mon, 19 May 2014 12:08:25 -0400 Message-ID: <537A2C78.4030902@redhat.com> Date: Mon, 19 May 2014 10:08:24 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Matthieu Fronton , 17528-done@debbugs.gnu.org Subject: Re: bug#17528: [mktemp] Not a bug.... a feature proposal References: In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3hFvD8SQk6nemtQ8gUxrqEAW9LBEnJLRE" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3hFvD8SQk6nemtQ8gUxrqEAW9LBEnJLRE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable tag 17528 notabug thanks On 05/19/2014 07:27 AM, Matthieu Fronton wrote: > Hello, >=20 > First i'd like to apologize because this message is about for a new fea= ture > proposal, not a bug. > I send it to the only mail I have found in the man page. Sorry for that= =2E One person's feature request is another person's bug for missing functionality, so you mailed the correct place. >=20 > I just wanted to propose to add the last generate temporary file's full= path > in a predefined environment variable. Umm, how do you propose to do that? Child processes cannot modify the environment of the parent. The only way to invoke mktemp is by spawning a child process - but that means that there is no way for mktemp to modify a predefined environment variable. That is, unless you are proposing to add a new shell builtin (so that a child process is not spawned), but then your patch would need to be against the shell (we don't maintain the shell here in coreutils). > I can create a patch or send a pull request but I'll first need to know= > where your source code is and how can we contribute, even for these kin= d of > tiny little feature. You are welcome to try and write a patch, but it sounds fundamentally futile based on how environment variables work. As such, I'm going to close this request as not a bug, but feel free to continue replying on this thread if you have more questions or comments. Read this for more ideas about contributing other patches: http://git.savannah.gnu.org/cgit/coreutils.git/tree/HACKING --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --3hFvD8SQk6nemtQ8gUxrqEAW9LBEnJLRE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTeix4AAoJEKeha0olJ0NqeQ0H/1mnDfrkBp62XjwFYZyeLk9q aDAJj7sy1L2gtMZqj1LdhujY3yjjIg3ngvI0Kyc6w58TsLijmjEL5ROnu6OZrb8z iw1W7kCyy+kTFqw9Zw+wXmKDH5SGrZj/fj9T/NLigEJ1OTffRMyAhs+nNOPjYoH0 jJ/IoBfaiI1vjCdkNhfBeGLXCDTFyFswjbSL0JqF/9gsdvHVZidGsSsV0Z1oiepj opAI5TISMvQWluh4DEiD18NYa72Q9oiAAjYkkQ7YVjme0hkAT8ofUe23aX6Q+S0b HGJER/0/Yosu6R6HQ7iVWuRpQUbqlQPfL6FJcQlKsdAH1MrPF1qSaaWreOjovDM= =LN9D -----END PGP SIGNATURE----- --3hFvD8SQk6nemtQ8gUxrqEAW9LBEnJLRE-- From unknown Sat Aug 16 18:48:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Matthieu Fronton Subject: bug#17528: closed (Re: bug#17528: [mktemp] Not a bug.... a feature proposal) Message-ID: References: <537A2C78.4030902@redhat.com> X-Gnu-PR-Message: they-closed 17528 X-Gnu-PR-Package: coreutils X-Gnu-PR-Keywords: notabug Reply-To: 17528@debbugs.gnu.org Date: Mon, 19 May 2014 16:09:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1400515744-28451-1" This is a multi-part message in MIME format... ------------=_1400515744-28451-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #17528: [mktemp] Not a bug.... a feature proposal which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 17528@debbugs.gnu.org. --=20 17528: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17528 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1400515744-28451-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 17528-done) by debbugs.gnu.org; 19 May 2014 16:08:31 +0000 Received: from localhost ([127.0.0.1]:53261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmQ75-0007Nq-2o for submit@debbugs.gnu.org; Mon, 19 May 2014 12:08:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64835) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmQ72-0007Nd-7T; Mon, 19 May 2014 12:08:29 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4JG8PgX012471 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 May 2014 12:08:25 -0400 Received: from [10.3.113.91] (ovpn-113-91.phx2.redhat.com [10.3.113.91]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s4JG8PJa029216; Mon, 19 May 2014 12:08:25 -0400 Message-ID: <537A2C78.4030902@redhat.com> Date: Mon, 19 May 2014 10:08:24 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Matthieu Fronton , 17528-done@debbugs.gnu.org Subject: Re: bug#17528: [mktemp] Not a bug.... a feature proposal References: In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3hFvD8SQk6nemtQ8gUxrqEAW9LBEnJLRE" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17528-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3hFvD8SQk6nemtQ8gUxrqEAW9LBEnJLRE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable tag 17528 notabug thanks On 05/19/2014 07:27 AM, Matthieu Fronton wrote: > Hello, >=20 > First i'd like to apologize because this message is about for a new fea= ture > proposal, not a bug. > I send it to the only mail I have found in the man page. Sorry for that= =2E One person's feature request is another person's bug for missing functionality, so you mailed the correct place. >=20 > I just wanted to propose to add the last generate temporary file's full= path > in a predefined environment variable. Umm, how do you propose to do that? Child processes cannot modify the environment of the parent. The only way to invoke mktemp is by spawning a child process - but that means that there is no way for mktemp to modify a predefined environment variable. That is, unless you are proposing to add a new shell builtin (so that a child process is not spawned), but then your patch would need to be against the shell (we don't maintain the shell here in coreutils). > I can create a patch or send a pull request but I'll first need to know= > where your source code is and how can we contribute, even for these kin= d of > tiny little feature. You are welcome to try and write a patch, but it sounds fundamentally futile based on how environment variables work. As such, I'm going to close this request as not a bug, but feel free to continue replying on this thread if you have more questions or comments. Read this for more ideas about contributing other patches: http://git.savannah.gnu.org/cgit/coreutils.git/tree/HACKING --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --3hFvD8SQk6nemtQ8gUxrqEAW9LBEnJLRE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTeix4AAoJEKeha0olJ0NqeQ0H/1mnDfrkBp62XjwFYZyeLk9q aDAJj7sy1L2gtMZqj1LdhujY3yjjIg3ngvI0Kyc6w58TsLijmjEL5ROnu6OZrb8z iw1W7kCyy+kTFqw9Zw+wXmKDH5SGrZj/fj9T/NLigEJ1OTffRMyAhs+nNOPjYoH0 jJ/IoBfaiI1vjCdkNhfBeGLXCDTFyFswjbSL0JqF/9gsdvHVZidGsSsV0Z1oiepj opAI5TISMvQWluh4DEiD18NYa72Q9oiAAjYkkQ7YVjme0hkAT8ofUe23aX6Q+S0b HGJER/0/Yosu6R6HQ7iVWuRpQUbqlQPfL6FJcQlKsdAH1MrPF1qSaaWreOjovDM= =LN9D -----END PGP SIGNATURE----- --3hFvD8SQk6nemtQ8gUxrqEAW9LBEnJLRE-- ------------=_1400515744-28451-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 May 2014 15:33:25 +0000 Received: from localhost ([127.0.0.1]:53214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmPZ2-0005E6-Tm for submit@debbugs.gnu.org; Mon, 19 May 2014 11:33:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37300) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmNcf-0001w3-2j for submit@debbugs.gnu.org; Mon, 19 May 2014 09:29:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmNcT-0007eC-Qa for submit@debbugs.gnu.org; Mon, 19 May 2014 09:28:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmNcT-0007e8-Np for submit@debbugs.gnu.org; Mon, 19 May 2014 09:28:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmNcN-0000bA-Dm for bug-coreutils@gnu.org; Mon, 19 May 2014 09:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmNcH-0007bh-FB for bug-coreutils@gnu.org; Mon, 19 May 2014 09:28:39 -0400 Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:44065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmNcH-0007bN-76 for bug-coreutils@gnu.org; Mon, 19 May 2014 09:28:33 -0400 Received: by mail-la0-f43.google.com with SMTP id mc6so4063717lab.16 for ; Mon, 19 May 2014 06:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tthieu.fr; s=frntn; h=mime-version:from:date:message-id:subject:to:content-type; bh=15bvjxRQ4yNbPEI5weuTEcaNPjqF1ZNJ0Pw245kVbog=; b=S+buhN3oc/Vl9v4jma1O/k6hJ7D3S7Cfrm2T5eSOJNWsTpQt0SzefukFaTXyRsJlTi Jg0lkGItssAeCaFDd4/at3Wo82lo/gh3aXghsa6YHVDEn0g5REvKjYyhuQaz5DJnNt+R CocEsEb8OrEIj8mR0pxbNOTeP8a4f66BkqFGA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=15bvjxRQ4yNbPEI5weuTEcaNPjqF1ZNJ0Pw245kVbog=; b=l82cII3CvMiVUFPWmKB3Ze9c1GBqI2PNH8GLRCwx3kNVmnXOR0DZNAcRTvyVoNieAe 48z7GVn4nSoK1VOHRyD2X1i1WBZFkr8lk8ND17ZPmaCczCZvOfCGGOQ/S6QEgsCuohBX wR9R0g2m+if4dRio45U3yVf01+HzK9VpyDqELefLU8as1JuhXR44z7FCY8dRoX/Yvc1x KDVK2z+zE+KMmve0UOm98FJc1Pruhygk896P/3CYIWxlTwq/BJJPKv/RJaXqx93SkDIg q7Ix9+dieGdQlmjThlIQPr+jndrnuUU30vxVIulZbZzkXG7O7aPUP7a7/+ulznAGQU0M XD5Q== X-Gm-Message-State: ALoCoQmryOeKT+qZQnYTr+9Ud1WQTqy2iFMvj2IXwpl4toJbQKqzx9rYWyC37bMElcpAybjqByfc X-Received: by 10.152.4.1 with SMTP id g1mr26788947lag.20.1400506111225; Mon, 19 May 2014 06:28:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.113.3.165 with HTTP; Mon, 19 May 2014 06:27:50 -0700 (PDT) X-Originating-IP: [130.193.24.135] From: Matthieu Fronton Date: Mon, 19 May 2014 15:27:50 +0200 Message-ID: Subject: [mktemp] Not a bug.... a feature proposal To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=089e0141a0a644048e04f9c0bd12 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 19 May 2014 11:33:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --089e0141a0a644048e04f9c0bd12 Content-Type: text/plain; charset=UTF-8 Hello, First i'd like to apologize because this message is about for a new feature proposal, not a bug. I send it to the only mail I have found in the man page. Sorry for that. I just wanted to propose to add the last generate temporary file's full path in a predefined environment variable. I can create a patch or send a pull request but I'll first need to know where your source code is and how can we contribute, even for these kind of tiny little feature. Regards, Matthieu Fronton. --089e0141a0a644048e04f9c0bd12 Content-Type: text/html; charset=UTF-8
Hello,

First i'd like to apologize because this message is about for a new feature
proposal, not a bug.
I send it to the only mail I have found in the man page. Sorry for that.

I just wanted to propose to add the last generate temporary file's full path
in a predefined environment variable.
I can create a patch or send a pull request but I'll first need to know
where your source code is and how can we contribute, even for these kind of
tiny little feature.

Regards,
Matthieu Fronton.

--089e0141a0a644048e04f9c0bd12-- ------------=_1400515744-28451-1-- From unknown Sat Aug 16 18:48:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17528: [mktemp] Not a bug.... a feature proposal Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 19 May 2014 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17528 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug To: Matthieu Fronton Cc: 17528@debbugs.gnu.org Received: via spool by 17528-submit@debbugs.gnu.org id=B17528.14005162091234 (code B ref 17528); Mon, 19 May 2014 16:17:02 +0000 Received: (at 17528) by debbugs.gnu.org; 19 May 2014 16:16:49 +0000 Received: from localhost ([127.0.0.1]:53287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmQF6-0000Jp-Vs for submit@debbugs.gnu.org; Mon, 19 May 2014 12:16:49 -0400 Received: from mail1.vodafone.ie ([213.233.128.43]:55036) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmQF4-0000JP-R8 for 17528@debbugs.gnu.org; Mon, 19 May 2014 12:16:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQBAAouelNtT8+B/2dsb2JhbAANTIcYvgyDEwGBK4MZAQEBBCMPAUYQCw0BCgICBRYLAgIJAwIBAgFFBg0BBwEBiEKsXXekQBeBKoxVAQFPB4J1gUsBA6Btjz+BbQcCGw Received: from unknown (HELO [192.168.1.79]) ([109.79.207.129]) by mail1.vodafone.ie with ESMTP; 19 May 2014 17:16:39 +0100 Message-ID: <537A2E62.1080900@draigBrady.com> Date: Mon, 19 May 2014 17:16:34 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 05/19/2014 02:27 PM, Matthieu Fronton wrote: > Hello, > > First i'd like to apologize because this message is about for a new feature > proposal, not a bug. > I send it to the only mail I have found in the man page. Sorry for that. > > I just wanted to propose to add the last generate temporary file's full path > in a predefined environment variable. > I can create a patch or send a pull request but I'll first need to know > where your source code is and how can we contribute, even for these kind of > tiny little feature. That should be supported already: my_temp_file=$(mktemp) thanks, Pádraig From unknown Sat Aug 16 18:48:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17528: [mktemp] Not a bug.... a feature proposal Resent-From: Matthieu Fronton Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Tue, 20 May 2014 06:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17528 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug To: =?UTF-8?Q?P=C3=A1draig?= Brady Cc: 17528@debbugs.gnu.org Received: via spool by 17528-submit@debbugs.gnu.org id=B17528.140056814823963 (code B ref 17528); Tue, 20 May 2014 06:43:01 +0000 Received: (at 17528) by debbugs.gnu.org; 20 May 2014 06:42:28 +0000 Received: from localhost ([127.0.0.1]:53791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wmdkp-0006ER-TD for submit@debbugs.gnu.org; Tue, 20 May 2014 02:42:28 -0400 Received: from mail-vc0-f171.google.com ([209.85.220.171]:43875) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wmdkm-0006EB-Ry for 17528@debbugs.gnu.org; Tue, 20 May 2014 02:42:25 -0400 Received: by mail-vc0-f171.google.com with SMTP id lc6so39240vcb.2 for <17528@debbugs.gnu.org>; Mon, 19 May 2014 23:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tthieu.fr; s=frntn; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=3L6mt5Z3iTdTronlR8LkkqnbmYhEqcmDgPks1KfNFtg=; b=FPfajEigsBfyBIBfMGKIJUa7Sntu0gXJ7RT58SmG7rJ0oIBDW/+v0BHxKZusEdhR1a eig4obRg93tB7P3NN+yaoEJRSiMsBAw3S34l6jqQ5eNSi+kkLU2z8nnISOcmVhEFUpC9 wZfAySiKgXuENq8fmH+VWCkKU/jV8nBh8yvv4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=3L6mt5Z3iTdTronlR8LkkqnbmYhEqcmDgPks1KfNFtg=; b=Wjzb0a63SKx62Qu/PFgjvDwhezGUqlCuLZC1qHB/944rgDyi+rng/4NnM/8yzVW9qY visLIzV78aQJGrDTKi/EHte7vgGalYU1uRRWe5yUs+f/Bv5EsYuAlra7j0n3iDHdC947 rtRwOCawSuh67w5/NDJbBImLH1Iq40gxlvVYu+iRH5vHITsiEv/KN55FFB3+2RdA2eM/ AiRH9mkvPQnrnCw4Xs4PkRb5lSdtaBn1RKvpii3BKqGaY4trIFFXH77MgkTas4hhc6Za Wp/gBrcBQcrOJ7p1l+xWjkE14z34RbeV6xMLEwUXbdsmyhN/WnOhp/eMzRVDTv6+IoXq mjyw== X-Gm-Message-State: ALoCoQlVtNkIPQ71FLgkYUERIZTG0auxUvpTIT2Y57me40AKP50qIgsRufzWKwdRZXZMMeKgMsvq X-Received: by 10.52.248.41 with SMTP id yj9mr1841395vdc.22.1400568139210; Mon, 19 May 2014 23:42:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.113.3.165 with HTTP; Mon, 19 May 2014 23:41:38 -0700 (PDT) X-Originating-IP: [2a01:e35:2ec9:20c0:d018:823:2c39:2874] In-Reply-To: <537A2E62.1080900@draigBrady.com> References: <537A2E62.1080900@draigBrady.com> From: Matthieu Fronton Date: Tue, 20 May 2014 08:41:38 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Aouch ! I now realize that's what I have done on some previous scripts. Cannot explain what happened to me yesterday. Looks like my brain was on st= rike. Thanks. Matthieu On Mon, May 19, 2014 at 6:16 PM, P=C3=A1draig Brady wrot= e: > On 05/19/2014 02:27 PM, Matthieu Fronton wrote: >> Hello, >> >> First i'd like to apologize because this message is about for a new feat= ure >> proposal, not a bug. >> I send it to the only mail I have found in the man page. Sorry for that. >> >> I just wanted to propose to add the last generate temporary file's full = path >> in a predefined environment variable. >> I can create a patch or send a pull request but I'll first need to know >> where your source code is and how can we contribute, even for these kind= of >> tiny little feature. > > That should be supported already: > > my_temp_file=3D$(mktemp) > > thanks, > P=C3=A1draig From unknown Sat Aug 16 18:48:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17528: [mktemp] Not a bug.... a feature proposal Resent-From: Matthieu Fronton Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Tue, 20 May 2014 06:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17528 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug To: Eric Blake Cc: 17528-done@debbugs.gnu.org Received: via spool by 17528-done@debbugs.gnu.org id=D17528.140056867824814 (code D ref 17528); Tue, 20 May 2014 06:52:02 +0000 Received: (at 17528-done) by debbugs.gnu.org; 20 May 2014 06:51:18 +0000 Received: from localhost ([127.0.0.1]:53795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmdtN-0006S9-5E for submit@debbugs.gnu.org; Tue, 20 May 2014 02:51:17 -0400 Received: from mail-ve0-f177.google.com ([209.85.128.177]:41971) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmdtL-0006Rv-4v for 17528-done@debbugs.gnu.org; Tue, 20 May 2014 02:51:16 -0400 Received: by mail-ve0-f177.google.com with SMTP id db11so46993veb.8 for <17528-done@debbugs.gnu.org>; Mon, 19 May 2014 23:51:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tthieu.fr; s=frntn; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cw7CP1e0lT6fuYUj25h78mUwQPYvprbXlf3UuWjSCog=; b=Tll2ZOIPNrHiz+utUSvvYm6vTHZPZIIefPvkb4hmMNmp/MG8Gyb78CEqTVCFgFG90T JWxuKMnLObtCRigevX1vt7jPZZi1Yu8i5PuHs/7THlPAU7Ekt+QPuNpRVzAPszvKG0cN qLhsZB4WD8au1iF1WOjCQAfygPXZCImjApRHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=cw7CP1e0lT6fuYUj25h78mUwQPYvprbXlf3UuWjSCog=; b=fWnvxnpaGUrHUErEuULAm47FGnp2SF9tbomit5sRkT7oIC4W1QNreoDemzCC/nj96e Y09Ie//uEiakxtGRfGSFVPLkEplLoABMJuNhZr2pGTNbSQBfgB8W5EUDo9v9zPV+6PiX Xd3AQxqiMXa9nJozRSNZ7cVKRPHv9c1ZVod5+Vnq3f7e36rmJixv0grokMZz9omHbqJW /1QmbDnDhregB1l3Klm8GBltBxWiZYhdS4VgudZ7NFDJgi5aYoBBvXnzH9ZeT17eag8H AytT9h1qtL6cGBAL6iJzsu4FjlZw/ymU+u0Ei08sUe2mjF7vOoxS1EAQ0bUVef/iUsrq d59Q== X-Gm-Message-State: ALoCoQmmSJaeToeHtdPzzopaMol5zodExrfbsHDcggfSbVhh5rql69pDGDqBA0hDT9U1mVMTC5Is X-Received: by 10.58.216.34 with SMTP id on2mr22346122vec.22.1400568669433; Mon, 19 May 2014 23:51:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.90.225 with HTTP; Mon, 19 May 2014 23:50:29 -0700 (PDT) X-Originating-IP: [2a01:e35:2ec9:20c0:d018:823:2c39:2874] In-Reply-To: <537A2C78.4030902@redhat.com> References: <537A2C78.4030902@redhat.com> From: Matthieu Fronton Date: Tue, 20 May 2014 08:50:29 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, May 19, 2014 at 6:08 PM, Eric Blake wrote: > tag 17528 notabug > thanks > > On 05/19/2014 07:27 AM, Matthieu Fronton wrote: >> Hello, >> >> First i'd like to apologize because this message is about for a new feature >> proposal, not a bug. >> I send it to the only mail I have found in the man page. Sorry for that. > > One person's feature request is another person's bug for missing > functionality, so you mailed the correct place. > >> >> I just wanted to propose to add the last generate temporary file's full path >> in a predefined environment variable. > > Umm, how do you propose to do that? Child processes cannot modify the > environment of the parent. The only way to invoke mktemp is by spawning > a child process - but that means that there is no way for mktemp to > modify a predefined environment variable. That is, unless you are > proposing to add a new shell builtin (so that a child process is not > spawned), but then your patch would need to be against the shell (we > don't maintain the shell here in coreutils). > I didn't realise this at first but sounds obvious now I have switch my brain back on. Thanks Matthieu > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org >