This is the mail archive of the autoconf-patches@gnu.org mailing list for the autoconf project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 05-autoconf--trace


>>>>> "Alexandre" == Alexandre Oliva <oliva@lsd.ic.unicamp.br> writes:

>> + (translate_awk::BEGIN): Set RS to "\0" so that the whole file be
>> a + single record.

Alexandre> Are you sure this is portable?  It's scary. :-) Can't we

Don't know, tested with mawk and gawk.

Alexandre> just create a special case for new-line as the separator,
Alexandre> for example, `$\n@'?

Why not.  I was very surprised not to find a decent means to have this
but to use an impossible separator.


Alexandre> Incidentally, I like semicolons in awk code, probably
Alexandre> because of my C background.

Same here, that's why I had left then all over.  I'm OK if you want me
to put them back.  I removed them because I wanted to learn the pure
AWK style.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]