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

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

Re: How to print a "line feed" without "carriage return" ?


From: Eli Zaretskii
Subject: Re: How to print a "line feed" without "carriage return" ?
Date: Sat, 27 Aug 2005 11:29:49 +0300

> Date: Fri, 26 Aug 2005 11:45:22 +0200
> From: "Vollmer, Manfred" <address@hidden>
> 
> it seems to be impossible to print a simple line feed "\x0A" ; gawk
> always inserts a "\x0D" in front of it.

You need to set the variable BINMODE=w.  See the Gawk manual for more
about this feature.  By default, Gawk uses text-mode I/O, which
translates newlines to CR-LF pairs.




reply via email to

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