nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mh-format and components with empty content

2015-02-25 20:42:13
It does occur to me that by simply adding an instruction that checked
to see if the "str" register was a NULL pointer or not would suffice
for your needs.

That's what I was thinking, perhaps an `exist' function?  %{exist(foo)}

I think you mean %(exist{foo}), but yeah.  I was thinking that we would
want a more generic function to check to see if str == NULL ... but thinking
more about it, that's really an artifact of the current implementation.
%(exist) (and %(notexist)) would be better for the long run.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>