Bug?

Robert Haussmann haussma at nextdimension.net
Sat Sep 11 14:52:08 PDT 2004


> On the following line:
> 
> system "\fp\rclerk gfokname -sanc -xa -d -r"<1<"-rw"<2
>	 
> @pw will truncate the value in field 2 if there is a comma in it.
> 
> For example, if field 2 contains: Simon, George
> @pw will only pass Simon,
> but if field 2 contains George Simon
> @pw will pass the entire value.


I don't think it's really a bug--more like a command line expectation.
Parameters on the command line are separated by spaces.  So you
are ending up with a command line of:

\fp\rclerk gfokname -sanc -xa -d -r something -rw Simon, George

This gets parsed as:
	parameter: -r 	contents: something
	parameter: -rw 	contents: Simon,
	parameter: George	contents: nothing

To work around, enclose the paramters in quotes so that the resulting
command line is:

\fp\rclerk gfokname -sanc -xa -d -r something -rw "Simon, George"

That should give you the behavior you are looking for.

Bob Haussmann
Tabor Children's Services, Inc.




More information about the Filepro-list mailing list