Re: Color coding problem in C shell
Re: Color coding problem in C shell
- Subject: Re: Color coding problem in C shell
- From: Steve Baxter <email@hidden>
- Date: Thu, 15 Jun 2006 01:25:12 +0100
It's because the colour coding is designed for C. \" in a C string
escapes the " (so it is added to the string instead of terminating it).
Try putting \ " (with a space between the \ and the ") if your
script can allow that.
Cheers,
Steve.
On 15 Jun 2006, at 0:25, Michael Collier wrote:
Hi,
I get incorrect color coding for a C shell script I have when a
echo string has a \ as the last character like this:
echo "define lib_map ( ${cdp_dir} => cd_core, \" >> hdl.var
echo " ${oob_dir} => oob, \" >> hdl.var
The color coding goes from the first quote on the first line to
first quote on the second line because it look like the \ character
makes the color coding algorithm skip the second quote on the first
line. The script works fine and puts the \ a character in the
string generated by the echo command.
My question is, is this a known problem? Should I file a bug
report? Or am I missing something obvious?
Thanks,
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40improvision.com
This email sent to email@hidden
Steve Baxter
Software Development Manager
Improvision
+44-2476-692229
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden