public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Environment variable named !:: (exclamation mark + colon + colon)
@ 2020-12-05 14:24 tzccinct
  2020-12-05 16:05 ` Csaba Raduly
  0 siblings, 1 reply; 2+ messages in thread
From: tzccinct @ 2020-12-05 14:24 UTC (permalink / raw)
  To: cygwin

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

Is this an expected environment variable on Cygwin? If so, what is this for?

Best regards,
tzccinct

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Environment variable named !:: (exclamation mark + colon + colon)
  2020-12-05 14:24 Environment variable named !:: (exclamation mark + colon + colon) tzccinct
@ 2020-12-05 16:05 ` Csaba Raduly
  0 siblings, 0 replies; 2+ messages in thread
From: Csaba Raduly @ 2020-12-05 16:05 UTC (permalink / raw)
  To: tzccinct; +Cc: cygwin list

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-05 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-05 14:24 Environment variable named !:: (exclamation mark + colon + colon) tzccinct
2020-12-05 16:05 ` Csaba Raduly

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).