bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

0D0A


From: Charles Weaver
Subject: 0D0A
Date: Mon, 28 Apr 2008 21:58:56 -0400

I don't know if this is a bug or a feature but as near as I can tell the 
following line:

print sprintf("%c%c%c%c",0x0d,0x0a,0x36,0x37) > "outputfile.bin";

generates the following  binary: 0d0d0a3637

It took me the better part of a day to figure out that it was putting in the 
extra 0d and I have not been able to figure out how to stop it.

Thanks,

Charles


reply via email to

[Prev in Thread] Current Thread [Next in Thread]