bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Warning (HTML included to show prog shipped w/syntax highlighting).


From: Linda W
Subject: Warning (HTML included to show prog shipped w/syntax highlighting).
Date: Wed, 10 Aug 2011 15:23:47 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666



When I have the construct, in 4.1:


 1 #!/bin/bash
2 30 31 # trace control for subs
32 declare -ix Allow_Trace=$(((
33                         _D_LowLevel   |
34                         _D_Provides   |
35 _D_ 36 ))) 37 38 declare -ix Trace_off=$(((
39                           _D_
40                       )))
41 42 # for setting a local '_Debug' flag in a routine
43 declare -ix Debug=$(((
44                       _D_
45                   )))
46 47 907 # vim: ts=2 sw=2 fdm=marker nofen

The syntax highligher doesn't like my ) brace.

If I put a space after $( and before th final ), then the error goes away, but it changes the semantics of the statment (one does an arith cal, and reurns value, but with spaces, it does the arith and returns the status of the of wheither or not the 'calc' returned 0 (fail)
or 1(pass).

For hosethat want to complain about HTML, bing used on vim llist -- - just ignore the post..


Is this fixable???






reply via email to

[Prev in Thread] Current Thread [Next in Thread]