From unknown Sat Aug 16 10:50:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14190 <14190@debbugs.gnu.org> To: bug#14190 <14190@debbugs.gnu.org> Subject: Status: cat command bug Reply-To: bug#14190 <14190@debbugs.gnu.org> Date: Sat, 16 Aug 2025 17:50:11 +0000 retitle 14190 cat command bug reassign 14190 coreutils submitter 14190 hockseng leow severity 14190 normal tag 14190 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 01:05:06 2013 Received: (at submit) by debbugs.gnu.org; 12 Apr 2013 05:05:08 +0000 Received: from localhost ([127.0.0.1]:46766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQWAY-0000eH-9U for submit@debbugs.gnu.org; Fri, 12 Apr 2013 01:05:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60942) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQTnq-0008FG-IT for submit@debbugs.gnu.org; Thu, 11 Apr 2013 22:33:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQTk3-0000ry-UC for submit@debbugs.gnu.org; Thu, 11 Apr 2013 22:29:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:47170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQTk3-0000rs-Qx for submit@debbugs.gnu.org; Thu, 11 Apr 2013 22:29:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQTk1-0005gK-37 for bug-coreutils@gnu.org; Thu, 11 Apr 2013 22:29:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQTjy-0000qv-Hm for bug-coreutils@gnu.org; Thu, 11 Apr 2013 22:29:29 -0400 Received: from mail-ve0-f173.google.com ([209.85.128.173]:37179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQTjy-0000qk-Dh for bug-coreutils@gnu.org; Thu, 11 Apr 2013 22:29:26 -0400 Received: by mail-ve0-f173.google.com with SMTP id cy12so2015814veb.4 for ; Thu, 11 Apr 2013 19:29:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=CjaWQGQtOScaPmwQszZB2PrN1JP/CT+ksJxM/WOeaNY=; b=MMrdQHS7Ad+jSgWbBygijKcN/qqp4n5/vLwSAlbMrwfvm6HbOLpzSIUU20l0UQGxXo NWEyv2/dwaZfoO4Lk/hrENRWnj4GlMe4zj4GxZcA8xLp5BJJnCkCp/Y+k3NZBKlNTxRQ Qctx6TU/QEQyAohgtXaTAEyEDMWLn7sOBVnLbUC4qCDJiqmTWyf+GQx8dZln+THIpyiI ALTGI5fqZOPnTk6ejbtthi1vhk5gXmPbiN0puRrVz09yRUxuOgUTy0EWbifXceEAyUj9 aMA+yzeDNXMEjnXf4G+2GAQCXCabdLW3WtZorml4aUiMsHtMcRcyPaoBxEr7LehGjprL M06A== MIME-Version: 1.0 X-Received: by 10.220.143.196 with SMTP id w4mr6905857vcu.62.1365733765281; Thu, 11 Apr 2013 19:29:25 -0700 (PDT) Received: by 10.220.105.8 with HTTP; Thu, 11 Apr 2013 19:29:25 -0700 (PDT) Date: Fri, 12 Apr 2013 10:29:25 +0800 Message-ID: Subject: cat command bug From: hockseng leow To: bug-coreutils@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQl4Qn5U1l3+GIVWyH7CJznMTZs79pKmNFxJ/PDP94+eUTmZS/YEi5nxOyO3WV09TLn74He+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 12 Apr 2013 01:04:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) 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:96740759 http://www.oses.sg From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 05:45:46 2013 Received: (at 14190) by debbugs.gnu.org; 12 Apr 2013 09:45:46 +0000 Received: from localhost ([127.0.0.1]:46929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQaYD-00037t-3L for submit@debbugs.gnu.org; Fri, 12 Apr 2013 05:45:45 -0400 Received: from mail3.vodafone.ie ([213.233.128.45]:52698) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQaYA-00037V-FZ for 14190@debbugs.gnu.org; Fri, 12 Apr 2013 05:45:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj4DAGDVZ1FtTW87/2dsb2JhbAANQ8I0gl8DAYEhgxMBAQEEMgFGEAsNCwkWDwkDAgECAUUGDQEHAQGyLJNJjjdfB4NBA50pjXQ Received: from unknown (HELO [192.168.1.79]) ([109.77.111.59]) by mail3.vodafone.ie with ESMTP; 12 Apr 2013 10:41:47 +0100 Message-ID: <5167D6D9.7080609@draigBrady.com> Date: Fri, 12 Apr 2013 10:41:45 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: hockseng leow Subject: Re: bug#14190: cat command bug References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 14190 Cc: 14190@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 13 22:53:30 2013 Received: (at 14190) by debbugs.gnu.org; 14 Apr 2013 02:53:30 +0000 Received: from localhost ([127.0.0.1]:49486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URD4M-0008NE-9F for submit@debbugs.gnu.org; Sat, 13 Apr 2013 22:53:30 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:57257) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URD4I-0008My-2w for 14190@debbugs.gnu.org; Sat, 13 Apr 2013 22:53:27 -0400 Received: by mail-vc0-f172.google.com with SMTP id gd11so3107788vcb.31 for <14190@debbugs.gnu.org>; Sat, 13 Apr 2013 19:49:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding :x-gm-message-state; bh=iq0+fGLj186+1OoHlMjn3FUc1MesYmrKOL0aDGQopVY=; b=c8S8SdP+DlAeAqJOCcv9dQyts/ifSbm8CE669aNufV7L6W49YTHgpaHbmQYjieAdG+ gIkCcEjvU8ITWOcQq078Vttb/2IqHh1ljEstjx6IRpO/WwmyRtSgcziZ8swstrcZIGX8 mjHbMSxqVu3jTfkSa+AUekq2/I9/C3K0LnnFEQikCmISghikgsHk0AhmBOENWvM/Z4it ZXyO22QbJvwn+1T6O6gfUZZKOgVpiVfZblGW29jXn3FM96g32mahGL6BLlv1BobiiKAe jXeoRxxqd/VpRzxLVvIO5acnbA41idLnJTZiNGh5lgCN6SNfx080FG8tbLGDAs/o5w7f Q/HA== MIME-Version: 1.0 X-Received: by 10.220.113.204 with SMTP id b12mr12619913vcq.43.1365907761943; Sat, 13 Apr 2013 19:49:21 -0700 (PDT) Received: by 10.220.105.8 with HTTP; Sat, 13 Apr 2013 19:49:21 -0700 (PDT) In-Reply-To: <5167D6D9.7080609@draigBrady.com> References: <5167D6D9.7080609@draigBrady.com> Date: Sun, 14 Apr 2013 10:49:21 +0800 Message-ID: Subject: Re: bug#14190: cat command bug From: hockseng leow To: =?ISO-8859-1?Q?P=E1draig_Brady?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlv5uQWZoUH/xlAhrJ3GtBan2wF312JIQo9vJ4qgauuhM74uyhoEtxpL1AbP9Q22Ks3q2+F X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14190 Cc: 14190@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) $ cat abc.txt abc $ cat >abc.txt def ^C $ cat abc.txt def On Fri, Apr 12, 2013 at 5:41 PM, P=E1draig 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. >> >> 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=E1draig. > --=20 Leow Hock Seng Tel:64463211 Mobile:96740759 http://www.oses.sg From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 16:17:44 2013 Received: (at 14190) by debbugs.gnu.org; 14 Apr 2013 20:17:44 +0000 Received: from localhost ([127.0.0.1]:50621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URTMu-0001xo-EQ for submit@debbugs.gnu.org; Sun, 14 Apr 2013 16:17:44 -0400 Received: from joseki.proulx.com ([216.17.153.58]:51325) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URTMr-0001xe-2E for 14190@debbugs.gnu.org; Sun, 14 Apr 2013 16:17:42 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 47877211DA; Sun, 14 Apr 2013 14:13:32 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id EE3E62DCE3; Sun, 14 Apr 2013 14:13:31 -0600 (MDT) Date: Sun, 14 Apr 2013 14:13:31 -0600 From: Bob Proulx To: hockseng leow Subject: Re: bug#14190: cat command bug Message-ID: <20130414201331.GA20242@hysteria.proulx.com> References: <5167D6D9.7080609@draigBrady.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 14190 Cc: 14190@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) hockseng leow wrote: > >> Ctrl-c is behaving like Ctrl-d. In the context you describe, yes, by necessity. It always has. > >> 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. > > $ cat abc.txt > abc > $ cat >abc.txt > def > ^C > $ cat abc.txt > def That is the test case explanation you needed to have included before! It explains what you are seeing and thinking. Let's walk through it line by line. $ cat abc.txt abc A file has existing contents. $ cat >abc.txt The shell has immediately truncated the contents of the file to a zero lenth file. The previous contents are gone. If you check at that point you will find that the file is empty. def You typed in "def" followed by enter which generated a newline and cat copied that to the file. (Sometimes programs will buffer output and in general libc's stdio buffering will cache up small writes into larger writes for performance reasons. But here it is going to write it line by line because it is coming from your terminal.) ^C You typed in control-C which generated a SIGINT sent to the cat process. The cat process exited due to that signal. If you check the exit code using the wait(2) macros WIFEXITED(status) and others you will find it is exiting non-zero due WIFSIGNALED(status). The shell usually maps this to 130 which is a bit-mapped value for exiting because of SIGINT. "echo $?" will show this as "130". Because the program has exited the operation system will close all of the processes open file descriptors. The stdout for that process was redirected to the file by the shell. When the process exited any open file descriptors are closed by the operating system. That may have a result similar to a control-D but the reasoning is completely different. With a C-d the stty driver would answer the cat process' read(2) call by sending a zero byte result. The cat program would interpret that as an end of file and then it would close the output itself and exit with a success exit code 0 just as if it had come to the end of a file. C-c interrupts the process and results in a non-zero failure exit code. C-d is a normal operation and results in the process closing the output file normally and exiting with a zero success exit code. The two things are different things. > >> It happens in Fedora 17. And it also happens on every Unix and GNU operating system dating back to 1970. That is the way things work. Anything else would be incorrect operation. Starting with the shell truncating the file immediately upon seeing the redirection of stdout to it with ">abc.txt". Immediately upon doing the redirection that file is truncated to zero. Hope that explanation helps. Bob From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 15 01:37:57 2013 Received: (at 14190) by debbugs.gnu.org; 15 Apr 2013 05:37:57 +0000 Received: from localhost ([127.0.0.1]:51171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URc72-0007cf-SN for submit@debbugs.gnu.org; Mon, 15 Apr 2013 01:37:57 -0400 Received: from mail-vb0-f42.google.com ([209.85.212.42]:51905) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URc6z-0007cQ-Q2 for 14190@debbugs.gnu.org; Mon, 15 Apr 2013 01:37:55 -0400 Received: by mail-vb0-f42.google.com with SMTP id p12so3520910vbe.1 for <14190@debbugs.gnu.org>; Sun, 14 Apr 2013 22:33:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=GMX8aQ8QAf24wADJFWyP7glpLNNi6tRRQpatwKt5HyU=; b=J/CzfD+e0GLBLh9jF8kEgmcDu994di40He6Lh7d1W6epA2VuQJErblHe82WJTfQ2B9 yMBv786wajnvKHVi/04eEa+t5JEC7F/8v1kgFVoPTAnZtE41rZNbY3OKU2xMngu6ka9X CDJL5kZaqahssQy1eholkCXq5XQhH3xjXfTkGLT32dEqB48F2Q9AHtpg8rZTV9DukND6 d20RQzN0xpReSgDA4dHmExOd8Pxjz17X7CJ2ml14sVbggAXUra0dOFnGK0+szY/e9xRB q2cA6EZY7ymULmbj8D6u1bbvLTzSJP+8tUrlVRW2U6gBUGyJzrWGsUxrtvZ5SNSjcEYA UOwQ== MIME-Version: 1.0 X-Received: by 10.220.113.204 with SMTP id b12mr14977858vcq.43.1366004023359; Sun, 14 Apr 2013 22:33:43 -0700 (PDT) Received: by 10.220.105.8 with HTTP; Sun, 14 Apr 2013 22:33:43 -0700 (PDT) In-Reply-To: <20130414201331.GA20242@hysteria.proulx.com> References: <5167D6D9.7080609@draigBrady.com> <20130414201331.GA20242@hysteria.proulx.com> Date: Mon, 15 Apr 2013 13:33:43 +0800 Message-ID: Subject: Re: bug#14190: cat command bug From: hockseng leow To: Bob Proulx Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkPjswJR/ex72uAeUwc9ET37eJQYvR8YF9ukdpCo6oWW4mqm6NItL5x3oOmc5ufrWCb5rgz X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 14190 Cc: 14190@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) 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 context you describe, yes, by necessity. It always has. > >> >> 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. >> >> $ cat abc.txt >> abc >> $ cat >abc.txt >> def >> ^C >> $ cat abc.txt >> def > > That is the test case explanation you needed to have included before! > It explains what you are seeing and thinking. Let's walk through it > line by line. > > $ cat abc.txt > abc > > A file has existing contents. > > $ cat >abc.txt > > The shell has immediately truncated the contents of the file to a zero > lenth file. The previous contents are gone. If you check at that > point you will find that the file is empty. > > def > > You typed in "def" followed by enter which generated a newline and cat > copied that to the file. (Sometimes programs will buffer output and > in general libc's stdio buffering will cache up small writes into > larger writes for performance reasons. But here it is going to write > it line by line because it is coming from your terminal.) > > ^C > > You typed in control-C which generated a SIGINT sent to the cat > process. The cat process exited due to that signal. If you check the > exit code using the wait(2) macros WIFEXITED(status) and others you > will find it is exiting non-zero due WIFSIGNALED(status). The shell > usually maps this to 130 which is a bit-mapped value for exiting > because of SIGINT. "echo $?" will show this as "130". > > Because the program has exited the operation system will close all of > the processes open file descriptors. The stdout for that process was > redirected to the file by the shell. When the process exited any open > file descriptors are closed by the operating system. > > That may have a result similar to a control-D but the reasoning is > completely different. With a C-d the stty driver would answer the > cat process' read(2) call by sending a zero byte result. The cat > program would interpret that as an end of file and then it would close > the output itself and exit with a success exit code 0 just as if it > had come to the end of a file. > > C-c interrupts the process and results in a non-zero failure exit > code. C-d is a normal operation and results in the process closing > the output file normally and exiting with a zero success exit code. > The two things are different things. > >> >> It happens in Fedora 17. > > And it also happens on every Unix and GNU operating system dating back > to 1970. That is the way things work. Anything else would be > incorrect operation. Starting with the shell truncating the file > immediately upon seeing the redirection of stdout to it with > ">abc.txt". Immediately upon doing the redirection that file is > truncated to zero. > > Hope that explanation helps. > > Bob -- Leow Hock Seng Tel:64463211 Mobile:96740759 http://www.oses.sg From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 15 03:07:23 2013 Received: (at 14190) by debbugs.gnu.org; 15 Apr 2013 07:07:23 +0000 Received: from localhost ([127.0.0.1]:51313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URdVa-00066u-0b for submit@debbugs.gnu.org; Mon, 15 Apr 2013 03:07:22 -0400 Received: from joseki.proulx.com ([216.17.153.58]:53554) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URdVW-00066d-Tv for 14190@debbugs.gnu.org; Mon, 15 Apr 2013 03:07:20 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id D8A29211DA; Mon, 15 Apr 2013 01:03:05 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 8F02F2DCE5; Mon, 15 Apr 2013 01:03:05 -0600 (MDT) Date: Mon, 15 Apr 2013 01:03:05 -0600 From: Bob Proulx To: hockseng leow Subject: Re: bug#14190: cat command bug Message-ID: <20130415070305.GA11708@hysteria.proulx.com> References: <5167D6D9.7080609@draigBrady.com> <20130414201331.GA20242@hysteria.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14190 Cc: 14190@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) hockseng leow wrote: > 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. No worries! Thanks for confirming this information for the bug log. Bob From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 18 20:10:19 2018 Received: (at control) by debbugs.gnu.org; 19 Oct 2018 00:10:19 +0000 Received: from localhost ([127.0.0.1]:57668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDIMt-0005IY-I6 for submit@debbugs.gnu.org; Thu, 18 Oct 2018 20:10:19 -0400 Received: from mail-pg1-f177.google.com ([209.85.215.177]:38217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDIMr-0005IL-LQ for control@debbugs.gnu.org; Thu, 18 Oct 2018 20:10:17 -0400 Received: by mail-pg1-f177.google.com with SMTP id f8-v6so14939157pgq.5 for ; Thu, 18 Oct 2018 17:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=7wyC/0uNCo7c6WtG/zOgo1GOW5aylbxed/rJUK06mwE=; b=nD/48Bzxn9qCrqZNg+hZs0nQy6V7JPMqsKJSK4TMwwxyM2Ll+QsyKdSO/9tkfZ1dZi VTfvMavCy6qb2yDLAxGDiEpmyRLzatYeZeqpKBxL7auXU9g2J6ajxrEcSiol/KCgtqb9 ztccvsVSCrq8XfY22BxN6ok48lJAfSHVjvKPGJFmU1VtOADSglA/1RcB2rgPa21BFveC waKi7rlrDsjF8C1P4x9Wc0ayHWidj26LBImQ++UyoPk7ZC5S2RjuH3pzegIxX7pg6CxM LY/V1wtLK9MPqhpihlf5SXW2vOSe2UP9btN70wvQ99CUNC1b6LoXVWT8p09tm39Eck5m 9nfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=7wyC/0uNCo7c6WtG/zOgo1GOW5aylbxed/rJUK06mwE=; b=QwRQyQyLtMOOwFAdZcW5a7+EGbd5LsKF6jV2xLdntNQEttk0ptyRML2SRka9zt+Tzz zYPM98dYCmc69hEwtvOdtskxlwM/yynFkXnn/OgfICeLaXzf7JByV8aSpUpGzB73n2N7 OYJCkg1BqLM4/CGYqTxpTMzK7TLZ/XvJZjzU1Imh8ipwcw/c7wGl+0ceALuMnM8QG/Tw mj17tTqiqu5HA/f5rCxdWzX66OYaQ31p5PpIjISMRY69srIoxyAs5qbI4O+tW2NFZnst RZkBpaVqgoGKAqmf3pDIyAAZ7mHD5dQyykoOEFcA2QV6mBzwjFSsaIeplXh3pngyA9gm dhRg== X-Gm-Message-State: ABuFfojDB9DMNcH79XzzSJpMUHjt9HgSmpngIf6w2iN/8Qpdmozvu5jB kSuJ332ochjivnabRQWKw2p2ce59 X-Google-Smtp-Source: ACcGV63ZHSGA1H4UcXS60HTj7AmITCk20H165mSAovI+bKa9dSMVJy0c0w9pDobNHduZ7EJK19ytYQ== X-Received: by 2002:a63:d00b:: with SMTP id z11-v6mr30926722pgf.317.1539907811575; Thu, 18 Oct 2018 17:10:11 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id b19-v6sm22937702pfo.50.2018.10.18.17.10.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Oct 2018 17:10:10 -0700 (PDT) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: <87d25ce5-70c3-d68e-17ac-587902605ca0@gmail.com> Date: Thu, 18 Oct 2018 18:10:09 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 14190 notabug close 14190 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.215.177 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 14190 notabug close 14190 From unknown Sat Aug 16 10:50:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 16 Nov 2018 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator