Strange "SET" (pseudo-) command output

Bernhard Ege bernhard@ege.cc
Sun Aug 22 22:00:00 GMT 2010


On 22-08-2010 23:51, Andrew Bogorodsky wrote:
> Hello!
>
> I'd install cygwin  under Windows Vista
>
> 01:41 [Lenovo G550@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



More information about the Cygwin mailing list