bash: Can I print new information on allready printed lines?
Is there any method within cli user interfaces to have a script have something like this:
texttexttexttexttexttext
texttexttexttexttexttext
texttexttexttexttexttext
texttexttexttexttexttext
<line currently on>
and then print a line such that
texttexttexttexttexttext <new text>
texttexttexttexttexttext <new text>
texttexttexttexttexttext <new text>
texttexttexttexttexttext
<line currently on>
Almost as if there was another console on top of the first one.
Is there any way to do this other than issuing clear and having it print all the lines over again?
|