From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id E4CEB3851C09 for ; Sat, 5 Dec 2020 16:05:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E4CEB3851C09 Received: by mail-wr1-x431.google.com with SMTP id p8so8315373wrx.5 for ; Sat, 05 Dec 2020 08:05:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dt96b46rXCtWFZQsOvSf8rNR1j57qzwUOqkDiQGX4P8=; b=moUxXtQohXN0F+d3rAam8FmhJoMbgnd87ybAFMLTSfAemKy15yS6jQFl9iBAVbv4CR /YeIq/VnqsH0XM1/hdrcAZobxH/VxvB/48YwUHq/8T6ErTKNRyCbumxr5QTPS+E7KjeE fLsnGia4yA03HRg0Yx5uaIfwMOf8oo1BqVj016ZcuhSNy8NvSbeOqW+hda1t2tU/P7zJ Qb2bffiKh1hLq360C8xxvzFqD9bFwmhGabZZFb04NGPpRgMFAfS/9JNRsG2WYtwO8F9d oVzSl63xqmiv022cqdGmL2ksev7N9lvRV47tPN74UADWEx6XciBfK2dM2jd8EztdAh9K j40Q== X-Gm-Message-State: AOAM531hcmg7LOvfgMhk9DgCB95OqX+15pt+8HESTEDNNCGWfD3OyCnL FLlvblwftpXIi0/UtdBE16AXLJ4KRPEgpy2Jkj0= X-Google-Smtp-Source: ABdhPJzdxnXDeApBRp6GwyCLrB1FxZXn5NwAeo4zslGsChselZ10ofmjzHV9Zzd215oaoVbDp1Hte8ryG1GanGUWmuM= X-Received: by 2002:a5d:4d88:: with SMTP id b8mr10734809wru.134.1607184332999; Sat, 05 Dec 2020 08:05:32 -0800 (PST) MIME-Version: 1.0 References: <552a04ab-86a3-ef03-1c9e-c4d17aff1cd9@gmail.com> In-Reply-To: <552a04ab-86a3-ef03-1c9e-c4d17aff1cd9@gmail.com> From: Csaba Raduly Date: Sat, 5 Dec 2020 17:05:20 +0100 Message-ID: Subject: Re: Environment variable named !:: (exclamation mark + colon + colon) To: tzccinct Cc: cygwin list Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2020 16:05:36 -0000 On Sat, 5 Dec 2020 at 15:25, tzccinct wrote: > > Hi, > > I have found an environment variable that has a strange name `!::' > (exclamation mark + colon + colon) on my terminal (both mintty and Tera > Term). The value is also strange, `::\' (colon + colon + backslash). > > $ env | sort | head -n 3 > !::=::\ > _=/usr/bin/env > ALLUSERSPROFILE=C:\ProgramData > This seems to be related : https://unix.stackexchange.com/questions/251174/strange-environment-variable-in-cygwin Csaba -- You can get very substantial performance improvements by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler So if you're looking for a completely portable, 100% standards-conformant way to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)