* David Engster (2010-05-24) writes: > The autogen.sh from a current CVS checkout fails: > > [...] > echo @set VERSION 2010-05-24�che <[email protected]> >version.texi > /bin/sh: Syntax error: redirection unexpected > make: *** [version.texi] Error 2 > Error running make in doc > > > The reason for this is that I'm working in a UTF-8 environment, but the > ChangeLog file has iso-8859-1 encoding. Due to the special characters > in the committer's name the sed-script fails. > > One could solve this issue by setting LANG when calling sed, for example: > > AUCTEXDATE=`LANG=en_US.iso88591 sed -n '1s/^\([-0-9][-0-9]*\).*/\1/p' > ChangeLog` > > But maybe there's a better solution?
Something like $ grep -m 1 -o '^[-0-9][-0-9]*' ChangeLog seems to work. But IIRC we avoid grep because it is not as commonly available as sed. At the moment I think it is not necessary to change autogen.sh because the problem will go away when the next check-in is made by a person with a name without non-ascii characters. And we currently don't have many contributors with non-ascii characters in their names. -- Ralf _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
