Re: [BLAST_ANAWARE] emacs/C/C++ question

From: Simon Sirca (simon.sirca@fmf.uni-lj.si)
Date: Wed Feb 18 2004 - 02:17:22 EST


Hi,

Tancredi is probably right. Whether fprintf() is given a numerical or
string argument has nothing to do with your observations unless the string
fed to it had a ^M attached to it in the first place, which would happen
if your someString was read as a complete line. If the CRs in your
file were accidentaly inserted by another program, you can also restore
the file to its unix format on the command line (i.e. without using vi):

sed 's/\r//g' file-with-^M > file-without-^M

On the other hand, should you want to insert the CR special character
[or other] in emacs, use CTRL-q RET [or other].

Simon

--
  Simon Sirca
  Dept of Physics, University of Ljubljana   Tel: +386 1 4766-574
  Jadranska 19                               Fax: +386 1 2517-281
  1000 Ljubljana, Slovenia                   



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:30 EST