[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix AT_SETUP's sh-escaping
From: |
Eric Blake |
Subject: |
Re: fix AT_SETUP's sh-escaping |
Date: |
Thu, 09 Nov 2006 20:41:42 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Paul Eggert on 11/9/2006 5:42 PM:
>
> How about if we use something like the ECHO_C / ECHO_N technology
> instead? I'll take a look at it, I guess.
Speaking of which, for some time now, I have wished that AT_DATA and
AT_CHECK could handle files that don't end in newline. I ended up doing
this in the M4 autotest sources:
| AT_SETUP([__@&address@hidden)
| dnl Unfortunately, AT_DATA does not make it easy to create files without
| dnl a trailing newline.
| [echo $ECHO_N "__line"__:__"file__$ECHO_C"] > nested
...
Perhaps I should look at using ECHO_C/ECHO_N technology to make it
possible to support AT_DATA([no newline]).
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFU/T184KuGfSFAYARAryYAJ9/NqxiYOh2T8kKd6E7Evbo/VeFFgCeJCPm
IUhxSI8QuVQeKlzkOWf8xgY=
=2XBn
-----END PGP SIGNATURE-----