Re: echo and line overwrite




ToddAndMargo wrote:
Hi All,

I am wanting to show progress as I process through a
long text file, but I do not want to use 24,000 lines
to do it.

From a bash script, is there a way to trick "echo"
into writing a line, not advancing to the next line (-n),
erasing itself, writing a new line on top of the old line?

The idea is to use a single line and have it change as
I process through the huge text file.

Many thanks,
-T

Hi David, Bill, and Bit,

Thank you for the links and the tips!

-T

.



Relevant Pages

  • Re: echo and line overwrite
    ... On Sun, 23 Nov 2008 22:46:47 GMT, ToddAndMargo wrote: ... I am wanting to show progress as I process through a ... writing a new line on top of the old line? ...
    (comp.os.linux.misc)
  • echo and line overwrite
    ... I am wanting to show progress as I process through a ... erasing itself, writing a new line on top of the old line? ...
    (comp.os.linux.misc)
  • Re: echo and line overwrite
    ... I am wanting to show progress as I process through a ... writing a new line on top of the old line? ... -- The Blues Brothers ...
    (comp.os.linux.misc)
  • Re: What counts as progress?
    ... words probably, but as they were just freewriting exercises, they didn't ... So if I don't count is as progress for the wip, ... :) As I've been suffering from writer's reluctance for a while, I thought that any writing was better than no writing. ... my novel tracking spreadsheets record both words written that day and the current size of the chapter I'm working on and the total words in the novel. ...
    (rec.arts.sf.composition)
  • Re: OT: Blu-Ray vs. HD-DVD, Will the madness never end?!?!
    ... >>>The Constitutional basis for US copyright laws is Article I, Section 8, ... >>>doesn't really promote additional progress. ... >>writing long after they had to. ... Because for most writers, writing ...
    (rec.arts.sf.tv.babylon5.moderated)