( ESNUG 226 Item 3 ) ---------------------------------------------- [8/31/95]
Subject: (ESNUG 225 #4) John Cooley, The Idiot Editor of ESNUG
Blithering John Cooley edited hill@synnet.com (Shannon Hill) to read:
>I'm always surprised by how long it takes to get moderately complicated
>scripting recipes working correctly. To prove my point, I'll ask ESNUG
>readers: "How long does it take you to figure out why the following line
>has a syntax error in dc_shell script-land??"
>
> dc_shell>dat_clock_pin = find(pin,*MEM*DAT*REG*/CK, -hierarchy )
sgupta2@mipos2.intel.com (Sravasti Gupta) then rightly replies:
>Maybe there is no syntax error in the command? It seems to be correct to me
>(in which case it would take forever for it to be detected)!
>
> - Sravasti Gupta
> Intel
And Sravasti's right! The reason why is because the orginal "trick"
dc_shell line was supposed to read:
> dc_shell>/* dat_clock_pin = find(pin,*MEM*DAT*REG*/CK, -hierarchy ) */
But, like the simple sheep farmer that I am, I STUPIDLY thought the "/*" and
"*/" were put in accidentally! Aaaaargh! Anyway, here it is in its correct
form with my humblest apologies.
- John Cooley
the occassionally coherant ESNUG guy
|
|