hi stepan,

(b) this, does NOT work:

        define([MY_IP_ADDR],
        esyscmd([dig @]MY_NS_NAME MY_HOST_NAME[ | awk 'index($ 0,
        "]MY_HOST_NAME[") == 1 {printf("%s", $ 5) }']))

argh. *&^*&!  :-/

ok.  i'll retry this in a bit ...

as i DO have a working alternative -- though not as "tight" as your code -- i've moved on to trying to figure out arrays/stacks (another post: "how 2 manage arrays & stack conflicts in m4?")

thx!

cheers,

richard


_______________________________________________
M4-discuss mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-discuss

Reply via email to