Re: 'print' output on one line

From: James Edward Gray II (james_at_grayproductions.net)
Date: 01/06/04


Date: Tue, 6 Jan 2004 15:01:12 -0600
To: "Esposito, Anthony" <anthony.esposito@xo.com>

On Jan 6, 2004, at 2:53 PM, Esposito, Anthony wrote:

> Is there a 'print' option/escape character the sends the file pointer (
> for STDOUT in this case ) back to the beginning of the line?

Sure is. Try ending your lines with a "\r" instead of a "\n". Works
on Unix at least.

James



Relevant Pages

  • Re: why do processes wait?
    ... also finding using redirection that unix uses this as stderr. ... stdout and stderr and machines that used large unit numbers. ...
    (comp.lang.fortran)
  • Re: read and write columns
    ... the pipe is closed by the reading process. ... Do you have a reference for what putcharlooks like for unix ... return putc(c, stdout); ...
    (comp.lang.c)
  • Re: read and write columns
    ... the pipe is closed by the reading process. ... Do you have a reference for what putcharlooks like for unix ... return putc(c, stdout); ...
    (comp.lang.c)
  • Re: convert byte stream to integers
    ... and if you use the -i switch as well it uses ARGVOUT instead of STDOUT. ... (I have no idea where the:perlio went in the first case.) ...
    (comp.lang.perl.misc)
  • RE: Descriptive term for reentrant program that nonetheless is not multi-taskable?
    ... I am going to guess that under UNIX it uses stdin and stdout. ... Does FTP client under Unix Services perform I/O directly to stdin and ...
    (bit.listserv.ibm-main)