On 9/26/2011 10:46 AM, SourceForge.net wrote:
> Bugs item #3414029, was opened at 2011-09-26 07:43
> Message generated for change (Comment added) made by seb_kuzminsky
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3414029&group_id=6744
>
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: HAL
> Group: None
>> Status: Closed
>> Resolution: Rejected
> Priority: 4
> Private: No
> Submitted By: CNCdreamer (cncdreamer)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: trivial bug in halcmd save nets
>
> Initial Comment:
> do_save_cmd()
> ...save_nets()
>
> "step 2" and 'step 3" fprint statements produce right arrow as "=>" instead 
> of "==>".
>
> I accidently stumbled over this when reading saved output into a script I 
> wrote.
>
>
> ----------------------------------------------------------------------
>
>> Comment By: Sebastian Kuzminsky (seb_kuzminsky)
> Date: 2011-09-26 08:46
>
> Message:
> The current behavior of halcmd is correct.  According to the manpage,
> "halcmd save" emits the current HAL configuration in the format of the
> halcmd commands needed to reproduce it, so "=>" is the correct syntax for
> nets.  This behavior is verified by the "save.0" test in our test suite.
>
> Perhaps the confusion comes from the fact that  in "halcmd show", nets are
> displayed with two equals signs, "==>"?  That may or may not be a problem
> (i think it's not), but the current "halcmd save" output is definitely
> correct.
>
>

Perhaps the confusion, as you call it, is because no where in the EMC2 
documentation nor in the source code except in these two lines I 
identified, is the '=>' arrow mentioned. I don't really care that halcmd 
can manage to read in what it wrote out because of a cute trick in its 
parser. I care that the code conform to its documentation. Who knows, I 
might not be the only person to write my own code based on the 
documentation.

But please yourself.

Regards,
Kent



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to