Memory can fail. I thought there is a difference between ctrl-c and ctrl-d.
I checked with an old Redhat and it also behaved that way.
Thanks.
On Mon, Apr 15, 2013 at 4:13 AM, Bob Proulx wrote:
> hockseng leow wrote:
>> >> Ctrl-c is behaving like Ctrl-d.
>
> In the cont
$ cat abc.txt
abc
$ cat >abc.txt
def
^C
$ cat abc.txt
def
On Fri, Apr 12, 2013 at 5:41 PM, Pádraig Brady wrote:
> tag 14190 notabug
> close 14190
> stop
>
> On 04/12/2013 03:29 AM, hockseng leow wrote:
>> Hello,
>>
>> Ctrl-c is behaving like Ctrl-d.
>>
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.
Thanks.
--
Leow Hock Seng
Tel:64463211
Mobile