Re: Re: Modifying the environment

Martin Gagnon <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.user
Message-ID <[email protected]>
Thanks, I never think to use "true" :p, I found that [[ 0 == 0 ]] work
by guessing.. So you mean the [[ ... ]] experessions are not supported
by standard "sh". I'll try to use "test" expression or make ksh specific
script now..

Martin


On Thu, Jun 16, 2005 at 11:34:46AM -0700, Ted Stern wrote:
> 
> The '[[ 0 == 0 ]]' syntax is overkill, and is not Bourne-shell
> compatible.  It happens to work because your /bin/sh is really running
> bash/ksh/zsh or something with Korn shell extensions.
> 
> This isn't time critical, so you can do
> 
>      while true ; do
>         ...
> 
>      done
> 
> for an infinite loop.
> 
> -- Ted
> 
> 
> -- 
>  Ted Stern                                 Applications Group
>  Cray Inc.                               office: 206-701-2182
>  411 First Avenue South, Suite 600         cell: 206-383-1049
>  Seattle, WA 98104-2860                     FAX: 206-701-2500
> 
>  Frango ut patefaciam -- I break so that I may reveal
>  (The Paleontological Society motto, equally apropos for debugging)
> 
> _______________________________________________
> INFO: https://windowmaker.org/lists/listinfo/wm-user
> ARCHIVE: https://windowmaker.org/lists/archive/wm-user/
> FAQ: http://windowmaker.org/faq.html
_______________________________________________
INFO: https://windowmaker.org/lists/listinfo/wm-user
ARCHIVE: https://windowmaker.org/lists/archive/wm-user/
FAQ: http://windowmaker.org/faq.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.