On 9/26/2011 4:30 PM, andy pugh wrote:
> On 26 September 2011 21:23, Kent A. Reed<[email protected]>  wrote:
>
>> 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.
> It is mentioned in http://www.linuxcnc.org/docview/html/hal_basic_hal.html
> (which points out that they really don't matter, and are for
> human-readable documentation only)
>
> There does appear to be no mention of their significance (or lack of)
> in the PDF HAL manual, though all the example net commands use the
> single arrow.
>
Andy and Sebastian:

I was/am just looking for consistency.

Sebastian cites the halcmd man page, which, it turns out, is 
inconsistent with the output from halcmd if one asks for "help linkps" 
or "help linksp".  Unfortunately, that's where I started.

Then, When I grepped emc2.5-dev/docs and ./src on '==>' I got around 100 
hits (inflated, it turns out, by the multiple language files in docs). I 
must have made a mistake when I thought I did the same thing for '=>' 
(with attention paid to not double count '==>'), because I now get 
around 500 of them. That mistake led to my hyper-inflated and 
intemperate remark about "no where...except..." for which I apologize.

Still, the argument that it's ok to do things inconsistently because "it 
really doesn't matter" rings hollow to me. One can never predict how 
someone is going to use this stuff. The great beauty of the Unix 
platform is the ease with which one can pipe data from one program to 
another.

In my case, I've been writing a python script to generate component 
connection diagrams from halcmd output and it needs the "suitable for 
human consumption only" arrows to establish signal directionality.

My code broke on some of the halcmd output because I believed what help 
told me. Now my code allows for both kinds of arrows, and I've moved on.

All this would have been over in 30 seconds if we had been talking over 
a beer.

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