[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command line options corresponding to changequote and changecom
From: |
Eric Blake |
Subject: |
Re: Command line options corresponding to changequote and changecom |
Date: |
Thu, 12 Sep 2013 05:53:23 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
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
signature.asc
Description: OpenPGP digital signature