Re: Command line options corresponding to changequote and changecom

2013-09-12 Thread Niels Möller
Eric Blake writes: >On 09/11/2013 05:58 AM, Niels Möller wrote: >> 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

Re: Command line options corresponding to changequote and changecom

2013-09-12 Thread Eric Blake
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 b

Command line options corresponding to changequote and changecom

2013-09-11 Thread Niels Möller
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). TO give some context, I'm writing an assembler for a toy processor, and I've just added a feature to have the a