On 09/11/2013 05:58 AM, Niels Möller wrote:
> Hi,
> 
> I think it would be nice if GNU m4 had some command line options
> corresponding to changecom and changequote (there's already an option,
> -w, for the experimental changeword feature).

Actually, it's -W; and since changeword will eventually be dropped if m4
2.0 is ever released, no one is relying on it.

> 
> Or generalizing this, a way to pass an arbitrary input fragment directly
> on the command line would be nice too. Say,
> 
>   m4 -e "changecom(`;')" file.s

In earlier versions of m4, 'm4 -e' did what 'm4 -i' does in other
implementations (namely, trigger an interactive run where signals and
buffering are changed).  But we have been issuing a deprecation warning
for that since 1.4.7, so it may be worth reusing such a short option in
the future.  In the meantime, I would not be opposed to the idea via a
long option, as it definitely sounds useful.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to