On Tue, Mar 07, 2006 at 11:51:18AM +0100, Tollef Fog Heen wrote:
> * Justin Pryzby 
> 
> | Also nonposix, from the main installer script: if !, $(, and -a again
> 
> if ! and $( ) are both in POSIX sh.
What I mean isn't "if and !" but rather "if !" as in

  if ! echo $FONTFILES

and

  if ! wget

But I just tested with posh so maybe this was okay; I guess it is a
case of "support is required by posix, but [buggy] shells don't get it
right".  info autoconf/Limitations of Builtins/Limitations of usual
Commands/ confirms this.  Feel free to disregard this one, since
afaics it doesn't affect Debian, and can't be fixed without
uglification of code.

Hmmm why does vim highlight $() then?
I reported this as #319825, but was corrected by one of the vim
maintainers.  Is this another case of attempting to support old or
broken shells?

This kind of stuff also is highlighted by vim:
  ${opt#-s}
  ${RET:+-s$RET}
  ${RET:+-u$RET}

Also, the postrm can be remove completely, since it is empty.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to