[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14190: cat command bug
From: |
Pádraig Brady |
Subject: |
bug#14190: cat command bug |
Date: |
Fri, 12 Apr 2013 10:41:45 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
tag 14190 notabug
close 14190
stop
On 04/12/2013 03:29 AM, hockseng leow wrote:
> Hello,
>
> Ctrl-c is behaving like Ctrl-d.
>
> When redirecting from standard-in to an existing file, Ctrl-c empties
> out the old file contents. In the past, Ctrl-c just aborts cat and
> leave the existing file unchanged.
>
> It happens in Fedora 17.
>
> Please fix.
Please give your exact command line if you still think this is an issue,
but I suspect your shell is truncating the file before cat runs.
thanks,
Pádraig.