Hi Mark,
On 11/18/19 7:11 AM, Mark Rivers via Tech-talk wrote:
The st.cmd command still contains {} rather than (), but that appears to be fine?
Yes. Most EPICS tools use the macLib code from libCom to expand macros, and by default that recognizes both
$(macro) and ${macro} as macros. IIRC there was disagreement between author of shell scripts, which use
${macro}, and of Makefiles, which use $(macro), as to which syntax to use, so both were provided to avoid arguments. There was even an idea to make those characters configurable by the application, but that was never actually implemented.
- Andrew
--
Complexity comes for free, Simplicity you have to work for.
|