I have a simple program which merely echoes the command line to the screen:
X.COMMAND = @SENTENCE
CRT 'X.COMMAND ':X.COMMAND
If I run the program with a literal string on the command line and that string
happens to contain a quoted string containing the word THEN surrounded
by spaces, the prompted field sometimes gets surrounded by pairs of single
quotes:
RUN LOCAL.SOURCE DAVE FIELD1 '<<WHAT>>' FIELD2 ' THEN ' FIELD3
WHAT ABC
X.COMMAND RUN LOCAL.SOURCE DAVE FIELD1 ''ABC'' FIELD2 ' THEN ' FIELD3
If I change the order of the strings on the command line, I get the single
quotes
that I expect rather than pairs of single quotes:
RUN LOCAL.SOURCE DAVE FIELD1 ' THEN ' FIELD2 '<<WHAT>>' FIELD3
WHAT ABC
X.COMMAND RUN LOCAL.SOURCE DAVE FIELD1 ' THEN ' FIELD2 'ABC' FIELD3
I am seeing this behavior in Unidata 7.1 on Linux and Unidata 7.2 (personal
edition) on
Windows.
Is there any way to keep Unidata from doubling the quotes?
Dave Rotman
Associate Vice President for Technology
Chief Information Officer
Cedarville University
251 N. Main Street
Cedarville, OH 45314
[EMAIL PROTECTED]
voice 937-766-7905
fax 937-766-8819
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/