|
From: | Paul Jarc |
Subject: | Re: Why doesn't "cat" print content of a file to standard output if the content is only a number ? |
Date: | Mon, 15 Sep 2003 11:51:16 -0400 |
User-agent: | Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
vatbier <address@hidden> wrote: > NO, the output of "cat /var/lock/subsys/dm" is written over by the > prompt of my shell (dm has a number like 1114) > address@hidden home]$ cat /var/lock/subsys/dm > address@hidden home]$ > My system is Mandrake Linux 9.1 with bash v2.05b > Is it possible to change this bash behaviour so that the prompt doesn't > overwrite output of a command? Yes: change your PS1 setting so it doesn't start with a carriage return. paul
[Prev in Thread] | Current Thread | [Next in Thread] |