Errata: The last print statement in the 'while' loop is the focus..
Tony Esposito
Oracle Developer, Enterprise Business Intelligence
XO Communications
Plano, TX 75074
Work Phone: 972-516-5344
Work Cell: 972-670-6144
Email: [EMAIL PROTECTED]
-Original Message-
From: Esposito,
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
--
To unsubscribe,
Communications
Plano, TX 75074
Work Phone: 972-516-5344
Work Cell: 972-670-6144
Email: [EMAIL PROTECTED]
-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 2:59 PM
To: [EMAIL PROTECTED]
Subject: Re: 'print' output on one line
From: Esposito
The issue of printing to the same location is based on terminal type. You
have several options on how you can implement this scenario.
1) from a text environment, you could use the codes for the proper terminal
type to reposition the cursor before sending your next print statement.
2) you
Work Phone: 972-516-5344
Work Cell: 972-670-6144
Email: [EMAIL PROTECTED]
-Original Message-
From: Esposito, Anthony
Sent: Tuesday, January 06, 2004 3:09 PM
To: Jenda Krynicky; [EMAIL PROTECTED]
Subject: RE: 'print' output on one line
I tried that already but it just gives me the final
Esposito, Anthony wrote:
I tried that already but it just gives me the final count at the end. I would like
the output to change - the row count, that is - as each 100 rows is committed with
the final output - when the program ends - to be:
Try turning autoflush on:
Greetings! C:\perl -w
, January 06, 2004 5:07 PM
To: Esposito, Anthony
Cc: Jenda Krynicky; [EMAIL PROTECTED]
Subject: Re: 'print' output on one line
Esposito, Anthony wrote:
I tried that already but it just gives me the final count at the end. I would like
the output to change - the row count, that is - as each 100