Re: Why doesn't "cat" print content of a file to standard output if the content is only a number ?

From: Davorin Vlahovic (A-Burn_at_fly.srk.fer.hr)
Date: 09/13/03


Date: Sat, 13 Sep 2003 10:59:36 +0000 (UTC)

In article <bjton8$n6eka$1@ID-136730.news.uni-berlin.de>,
Chris F.A. Johnson wrote:
> On Sat, 13 Sep 2003 at 00:13 GMT, vatbier wrote:
>> Sybren Stuvel wrote:
>>
>>> Do 'cat somefile; echo' instead.
>>
>> Wow, you're fast.
>> No I mean, is there some configuration file for bash where
>> you tell it to not let the prompt overwrite outputs of
>> commands?
>
> Set the PS1 variable to something else, e.g.:
>
> PS1='$PWD \$ '

PS1='\w $'
 

-- 
"The Justice Department has started investigations into the virus
monopoly by Microsoft."


Relevant Pages