[posted and mailed] Angus Leeming <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> Milos Komarcevic wrote: > >> I had to open a DOS window, cd to the directory >> where configure lives, and run it from there. >> >> There is still a slight problem with sed outputting >> of the LaTeX configuration file. >> >> http://www.mail-archive.com/[EMAIL PROTECTED]/msg28200.html >> http://www.mail-archive.com/[EMAIL PROTECTED]/msg30488.html > > Hi, Milos. > > Can you run the DOS equivalent of this Unix command from the command > line: > > $ echo "On this date @chk_date@ I created the string" | \ > sed 's/@chk_date@/November 20, 2003/g' > On this date November 20, 2003 I created the string > > Alternatively, save the string in a file and then run sed over it > $ sed 's/@chk_date@/November 20, 2003/g' <your_file> > > Let's see if we can get to the bottom of this. > Ok, I think I have a lead on this. I ran the configure script with the keep-temps switch. It wrote what appeared to be a syntactically valid chkconfig.sed file, which sed then choked on with the message sed: file chkconfig.sed line 1: Unknown option to 's' as per Milos's earlier post. So I loaded it into NoteTab (my favorite editor) and saved it in "Unix" format (0x0A rather than 0x0A 0x0D for end- of-line), and sed swallowed it whole. Looks like the "unknown option" is the extra Windows end-of-line character. Next question is, how do we get rid of the offending ctrl-Ms? -- Paul ************************************************************************* Paul A. Rubin Phone: (517) 432-3509 Department of Management Fax: (517) 432-1111 The Eli Broad Graduate School of Management E-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ************************************************************************* Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. J. W. v. GOETHE