> class="$(echo $f | sed "s/^actions\/\(\w\{0,\}\)\.hh/\1/g")"
> id="$(echo $foo | sed "s/PEEKABOT_REGISTER_SERIALIZABLE[[:space:]]
> \{1,\}//g")"
>
> Still a no-go?
One line from the output follows:
Found action actions/SetJointMax.hh, id=95 (./actions/SetJointMax.hh)
So the id matching works, but not the definition of class.
> What's the reason for using the ":" syntax, instead of the "/" syntax?
> class="$(echo $f | sed "s/^actions\ /\(\w\{ 0,\}\)\ .hh/\1/ g")" REGISTER_ SERIALIZABLE[ [:space: ]]
> id="$(echo $foo | sed "s/PEEKABOT_
> \{1,\}//g")"
>
> Still a no-go?
One line from the output follows:
Found action actions/ SetJointMax. hh, id=95 (./actions/ SetJointMax. hh)
So the id matching works, but not the definition of class.
> What's the reason for using the ":" syntax, instead of the "/" syntax?
Personal preference, I find it easier to read.
Nate