www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/22/17:59:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4C719D9D.1080900@ege.cc>
Date: Sun, 22 Aug 2010 23:58:53 +0200
From: Bernhard Ege <bernhard AT ege DOT cc>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Strange "SET" (pseudo-) command output
References: <AANLkTik65Y9F1d6k8_N0xdwYACeLGPjoZ27tM5qrh9UT AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTik65Y9F1d6k8_N0xdwYACeLGPjoZ27tM5qrh9UT@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 22-08-2010 23:51, Andrew Bogorodsky wrote:
> Hello!
>
> I'd install cygwin  under Windows Vista
>
> 01:41 [Lenovo G550 AT BlackBoard ~] uname -a
> CYGWIN_NT-6.0 BlackBoard 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin
>
> All is fine except an output of SET command. It outputs some SETs as
> it is expected but floods some sources after them. You can see full
> dump of it:
> $  set>  t.txt
> t.txt here: http://files.mail.ru/N5KR7O or here:
> http://rapidshare.com/files/414508643/t.txt
>
> Shortly it looks like:
> ====
> USERNAME='Lenovo G550'
> USERPROFILE='C:\Users\Lenovo G550'
> WINDIR='C:\Windows'
> _=date
> configsetroot='C:\Windows\ConfigSetRoot'
> f=
> _ImageMagick ()
> {
>      local cur prev;
>      _get_comp_words_by_ref cur prev;
>      case $prev in
>          -channel)
>              COMPREPLY=($( compgen -W 'Red Green Blue Opacity \
>                  Matte Cyan Magenta Yellow Black' -- "$cur" ));
> ====
> and here more and more source code %-\
>
> What can be wrong, friends?
>

Nothing is wrong. "set" lists more than just environment variables. It 
also lists defined functions. _ImageMagick is one such function.

Bernhard

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019