GNU bug report logs - #38706
error

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: sed; Reported by: Garn-Bachmann <garn@HIDDEN>; Keywords: moreinfo notabug; dated Sun, 22 Dec 2019 16:21:02 UTC; Maintainer for sed is bug-sed@HIDDEN.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.

Message received at 38706 <at> debbugs.gnu.org:


Received: (at 38706) by debbugs.gnu.org; 22 Jan 2020 00:52:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 21 19:52:52 2020
Received: from localhost ([127.0.0.1]:48737 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iu4GJ-0001Rd-Or
	for submit <at> debbugs.gnu.org; Tue, 21 Jan 2020 19:52:52 -0500
Received: from mail-qk1-f173.google.com ([209.85.222.173]:34521)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1iu4GH-0001RR-Sy
 for 38706 <at> debbugs.gnu.org; Tue, 21 Jan 2020 19:52:50 -0500
Received: by mail-qk1-f173.google.com with SMTP id d10so4391833qke.1
 for <38706 <at> debbugs.gnu.org>; Tue, 21 Jan 2020 16:52:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=Mtl2/5JpIw3JqRnAfapiQRSJBXqUh4s1v2UjlYtQ+r4=;
 b=bYLUdMFeq5MH60tUC9UA4GXAjzXdkBEG9wbf/N/iccUYWyhzIFkbcW8ITKf/QAGeAi
 +5s4wKVIbSeBhavW/0mJYz1Kl2mkabjP5drljEz1bzUBk80HrBcd6++Yn2go9Q/mACnr
 ln+0ohrjGSYpK9A6UTvgCOe3DvZ8+ULBtTmQt4TO455FgBddDP4duq9VtFbRLmIwDeOh
 a9ED3HXxZG2RSLKh5nIvLSrIR/PuYu0rHLoa3LB4LmjGzzxGNpy/9qrysz5O1wcNCpnm
 Kn5Hf2Fcj4s39u7F8qsWkNZY+wc9mWQAhCBbMX/PSwGJwHkRLXubY6vwAS6iwMJtqrIJ
 vrjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=Mtl2/5JpIw3JqRnAfapiQRSJBXqUh4s1v2UjlYtQ+r4=;
 b=XOGwJYyxv1ZKxkvrJBZr3OV4LQXgzVXpqsH1v6jMDH2WEN9Qx8KtUgb3rqIBOGR4KN
 M3nKvZtBCPB3/gXvMAXy+PNHK0OYIDsASC+F5gp6vQcBicJY4Y4D+cgeNfrSkLsAlSW2
 +dkJTHXITfWI7yf4dvK7P2/8Tq0ktAiAFyG4G2nzgl7VO/NEmrKiVkYp263QGx/U/lKF
 UjatVQHvEmne5odkPl/G5A2Jw90f90rhXbCd0yATN7y42dh7isuWm7n+9nCoqa2pn/pu
 SOpZRr2NVIILf3/eSaoae3Ih0X4iMQNJjQuO/h95TynoJfa5islx61E3GgKrswhG/o6B
 +Ulg==
X-Gm-Message-State: APjAAAWyPFOCtBZx6tt0GGlGRjpJscjA0TYlv6PDNqmhPnk2LedLPyuG
 2gDZlq5lqS6QE5RpOqcsJCd0fgN2yt22f6leUyddvA==
X-Google-Smtp-Source: APXvYqwwdldEx3Tce/DqpDx984X8100YmezAVGg68EPVrv1+ARdq6gc0g4B2IEW6cTFaoUPXBSk4c8vSdRgEYqE/zU0=
X-Received: by 2002:a37:a451:: with SMTP id n78mr6829941qke.304.1579654364272; 
 Tue, 21 Jan 2020 16:52:44 -0800 (PST)
MIME-Version: 1.0
References: <CAJ3okZ3_tk9L_ZhzMQMwzoudibstk0pgUfz=BSHQ=cb6duS2ow@HIDDEN>
In-Reply-To: <CAJ3okZ3_tk9L_ZhzMQMwzoudibstk0pgUfz=BSHQ=cb6duS2ow@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Wed, 22 Jan 2020 01:52:32 +0100
Message-ID: <CAJ3okZ2rwg6tgbw=RThVRAYZsLPe7txx+WdyQH4ArBMHdEB6Rw@HIDDEN>
Subject: Re:
To: 38706 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38706
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

reopen 38706

Dear Sed developers,


On Wed, 22 Jan 2020 at 01:45, zimoun <zimon.toutoune@HIDDEN> wrote:

> This bug does not seem related to Guix and the issue seems having been
> solved off-list.

Sorry, I have wrongly filtered out with Debbugs and Emacs.
And this one was related to GNU Sed, not GNU Guix at all.


Well, I think it is not a bug but I am not legitimated at all to close it. :-)
So I reopened it.


> Note that "close tag <number>" is not correct to close a bug. Instead,
> you need only "close <number>" or send an email to
> <number>-done <at> debbugs.gnu.org.
>
> https://debbugs.gnu.org/server-control.html


Sorry again for the confusion.

Regards,
simon




Information forwarded to bug-sed@HIDDEN:
bug#38706; Package sed. Full text available.

Message received at 38706-done <at> debbugs.gnu.org:


Received: (at 38706-done) by debbugs.gnu.org; 22 Jan 2020 00:45:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 21 19:45:52 2020
Received: from localhost ([127.0.0.1]:48726 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iu49X-0008N4-Om
	for submit <at> debbugs.gnu.org; Tue, 21 Jan 2020 19:45:52 -0500
Received: from mail-qk1-f169.google.com ([209.85.222.169]:41261)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1iu49W-0008HR-61
 for 38706-done <at> debbugs.gnu.org; Tue, 21 Jan 2020 19:45:50 -0500
Received: by mail-qk1-f169.google.com with SMTP id x129so4770381qke.8
 for <38706-done <at> debbugs.gnu.org>; Tue, 21 Jan 2020 16:45:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=+e0vcabotH7fr5v1lpezfvLTUrSGzgkhfvuCVcf6gHc=;
 b=qPZECpemeOpM3JnvD+a4bUBC+hOfUlW1finypBY3uFrwxem7+Y4MuEvp7HJHvpqS5o
 XilFVWMy+570gJo4BtkVEv7Yo7qhmJejUe40tQ1hXps5afoKv11eP7P1muNX4hvTv+hd
 n3HnPW2wD0DlNLxkez5X/0eUfj5H27ffX3G3MBfYQNtbwqGBC2NyaTIX63Kgj/4mRFYa
 h/btCL+4Vakm3r9zm736G8Z9q1WcOzSl2AweF15rIkBoQbpQG1npyKUkW1VPIrhYh7+3
 dI1gnKq949V8+y8K+45344s+x9F3bW/HynLxnR3xxRGCnEKVsDnIGSmptlr4U47YL7qY
 +JRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=+e0vcabotH7fr5v1lpezfvLTUrSGzgkhfvuCVcf6gHc=;
 b=B+v5jJ0aht0YHiFOX9OYHxoPS8itaBfUT5FyroK1tkD08vFsGUAd5HbrS8vYVZ5ocj
 1Fg4Z5YEVJ2bF3akJVpQ87L8NblyzKmVLm3aMcmgTaAWqylMZw9LVf9+oC/N3ZmDrUbs
 UYTlq1n1kZ7vcMsEa2vL8AbjbWMohP0gudw0hvKn2TXqINa/4FdyBtuPLA9TP41tPa5L
 YCTdDHYl+xSQf4O6P4WA2Vc35/TaV11P1LNhx6NOyClWCMnFxPgeHzMjX5PoNeJbgGGH
 wQ0jypg7NFpwsRyiL/JXk1VTn7GNYQ79uOu/rRHnKBr47nRfpZyHF+zp8mH51ms86/xw
 EO6A==
X-Gm-Message-State: APjAAAVPhIugaKHlUlO44NCcVUEWMD7oFHsIRHMkJfOh9rAQvqpInAtf
 cBwHLj564i0EtlVa9c7x4tviXFVoE/ssVEFOYpphXyEo
X-Google-Smtp-Source: APXvYqw6TMuOYBeJ4K2aqmEUPixtdb4lbJ+A/OOt3aIjCTtkBsBy9Dt0FNa/WwNRK46gguiA7tEMSfbGSEAxRGsPEFk=
X-Received: by 2002:a37:4955:: with SMTP id w82mr905866qka.201.1579653944539; 
 Tue, 21 Jan 2020 16:45:44 -0800 (PST)
MIME-Version: 1.0
From: zimoun <zimon.toutoune@HIDDEN>
Date: Wed, 22 Jan 2020 01:45:33 +0100
Message-ID: <CAJ3okZ3_tk9L_ZhzMQMwzoudibstk0pgUfz=BSHQ=cb6duS2ow@HIDDEN>
Subject: 
To: 38706-done <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
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:  close 38706 stop Dear Assaf, This bug does not seem related
 to Guix and the issue seems having been solved off-list. Note that "close
 tag <number>" is not correct to close a bug. Instead, you need only "close
 <number>" or send an [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: gnu.org]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (zimon.toutoune[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [209.85.222.169 listed in wl.mailspike.net]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.222.169 listed in list.dnswl.org]
 2.0 BLANK_SUBJECT          Subject is present but empty
X-Debbugs-Envelope-To: 38706-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

close 38706
stop

Dear Assaf,

This bug does not seem related to Guix and the issue seems having been
solved off-list.
Note that "close tag <number>" is not correct to close a bug. Instead,
you need only "close <number>" or send an email to
<number>-done <at> debbugs.gnu.org.

https://debbugs.gnu.org/server-control.html


All the best,
simon




Notification sent to Garn-Bachmann <garn@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to zimoun <zimon.toutoune@HIDDEN>:
You have taken responsibility. Full text available.
Added tag(s) notabug. Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 38706 <at> debbugs.gnu.org:


Received: (at 38706) by debbugs.gnu.org; 24 Dec 2019 21:36:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 24 16:36:18 2019
Received: from localhost ([127.0.0.1]:53133 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ijrqk-0005WM-I1
	for submit <at> debbugs.gnu.org; Tue, 24 Dec 2019 16:36:18 -0500
Received: from mail-pl1-f170.google.com ([209.85.214.170]:46916)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>)
 id 1ijrqi-0005W3-Ss; Tue, 24 Dec 2019 16:36:17 -0500
Received: by mail-pl1-f170.google.com with SMTP id y8so8843547pll.13;
 Tue, 24 Dec 2019 13:36:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:from:to:references:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=Ctf8F2N2C3EADpPpSivCr/Eqja4BnkehZlYlTHy0G5Y=;
 b=gW/ut4OJ3qvBiGp6A3AnUD8EGQkefXtNDooHdqSBxULgyn3Y1QVZuSolv+5ut87CGW
 EvCEMcxbJFrB308qwds+CgBqan9d94C7ll+N5WJdRx82Hovs7lmEdHxEC9P4OcttZL83
 y5NL4b3nKzXBJsjHwnAc6ApwLRSGKWjVMcqfxv5yo23QDO+Yz/WY3gf6fAKC2pVXx/1v
 IiKUvZWKYGPsqdtv7EAGudsgaWXUCqTH33OG1x4KzsVbLgJhXsJdiwNt+x9BUHHdy4Pe
 KO81cyaqJe7RLdea1cmEGQv/pu+hsl72E0k8l9x5MrA1wfaE5CjnSTqE0Aqs1c1EH9uu
 hWiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:from:to:references:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=Ctf8F2N2C3EADpPpSivCr/Eqja4BnkehZlYlTHy0G5Y=;
 b=rG0gE+DhXNWMzBUwZmktVXvwiM1UKJJiCkWvC4/y/4Mk26QDdzna6nJsPBNNpzgEvn
 AHNhstXYSa1o2ug4OgfzB3EeDsgc1/YPQxDCmcMyZuz+g+jIyGNMI9JlcN0UCTVBcjUM
 iRhTpkRWe/sFyUhikZ+QBGv3x3JdisFgdvzGipYP2EsI+VupIXb0op+1MXcJpN+Wd501
 bGveCq1yxR3QHIE3Wp9SgWGU7dJDjYsrV745w2+Jc9/c9TSg2KI45mCawu0RPjJNEjYY
 0NoqH8eFbIGB8loGZGCvg/XlE7H3bnl2QjpBD8mjpJ/pQwRcm+Ok9sMuWleW4Po02BrQ
 I+2g==
X-Gm-Message-State: APjAAAXK6pBi14fKQL0z0l1+QTOx1F3vxUpv6SHKtZ1XI9Hlwc/QwtJf
 8tv3RscEnM6pgS0Xt0yqdZ7Q6Riq
X-Google-Smtp-Source: APXvYqwcPdF4lykAG0eCvWijjv8oyl7J/qZdW6V4uopQuECXv49HgTCr8UU/AZITbVsP22ZijIVgaw==
X-Received: by 2002:a17:90a:d995:: with SMTP id
 d21mr8540780pjv.118.1577223370561; 
 Tue, 24 Dec 2019 13:36:10 -0800 (PST)
Received: from tomato.moose.housegordon.com (moose.housegordon.com.
 [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id
 s18sm25455892pfh.179.2019.12.24.13.36.09
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 24 Dec 2019 13:36:09 -0800 (PST)
Subject: Re: bug#38706: error
From: Assaf Gordon <assafgordon@HIDDEN>
To: Garn-Bachmann <garn@HIDDEN>, 38706 <at> debbugs.gnu.org
References: <060baaf8-8574-becc-e012-8eb197178f53@HIDDEN>
 <76cdaa53-cd9f-4b1f-3ab8-cebf7188def0@HIDDEN>
Message-ID: <9bb982ee-9532-f33b-b57a-00864e720535@HIDDEN>
Date: Tue, 24 Dec 2019 14:36:08 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <76cdaa53-cd9f-4b1f-3ab8-cebf7188def0@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 38706
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tag 38706 notabug
close tag 38706
stop

On 2019-12-22 12:49 p.m., Assaf Gordon wrote:
> On 2019-12-22 2:37 a.m., Garn-Bachmann wrote:
>>     Inserting characters at the end leads to errors
>>     cat ~/te.txt | sed 's|$|h|g'
>>     h036
>>     h110
>>     h110
> 
> I suspect this is an issue with end-of-line characters
> being "\r\n" (CR LF) in the input file.

Confirmed off-list that this is indeed the issue,
so I'm closing this as "not a bug".

Discussion can continue by replying to this thread.

regards,
  - assaf




Information forwarded to bug-sed@HIDDEN:
bug#38706; Package sed. Full text available.
Added tag(s) moreinfo. Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 38706 <at> debbugs.gnu.org:


Received: (at 38706) by debbugs.gnu.org; 22 Dec 2019 19:50:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 22 14:50:00 2019
Received: from localhost ([127.0.0.1]:50259 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ij7Em-0007bQ-3n
	for submit <at> debbugs.gnu.org; Sun, 22 Dec 2019 14:50:00 -0500
Received: from mail-pl1-f169.google.com ([209.85.214.169]:46751)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>)
 id 1ij7Ek-0007b8-6K; Sun, 22 Dec 2019 14:49:58 -0500
Received: by mail-pl1-f169.google.com with SMTP id y8so6344900pll.13;
 Sun, 22 Dec 2019 11:49:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:references:from:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=kCFi73vN6jMkSc/bViktfDwI8ajZTAvW8SFmr4zd8tI=;
 b=b6+VwI2Twq20eUg7Ia0IDWP6K3NYtuir8E0HO0ybvQ+Uc95OlHyCfC0TklN1hmaEXK
 7M3L3U8kVefFkxHeuQ6FWCFs2Q0AxD1rFTDjycuOGVBkYgMD302/9p4QM7gVMRlFIxDE
 +B6rMlYeU6LH2v49BUheii8UOXf2pL2vY5AWTrs4sR3gFdiSJHiwEKV9gqORhvbyGYlR
 VRXSHMRJY5l5TjSQztYN8ur8H3OFepSYjSKHzxZIOIUNd44j3QLhR6ePVFOnjmIBUVnu
 +pHiPK9pHagPlMCIb2+ALwjvThPTot4aaUr5Y4fzQzOchdhW0wRC17YhK63eX9AJexcm
 w1ig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=kCFi73vN6jMkSc/bViktfDwI8ajZTAvW8SFmr4zd8tI=;
 b=DYelhm9jF3FrmbL/HFMGA+7QWmx0GZbysc1TDQraUjJVcDVKHiHHB8MabTnBBo0Z0C
 ujpH8t/Z9jRfTKnsHQwEAveGjnYJ2CWgCC0wZ5bPAko/886i/5YljtYQ2fNNbrleKV4c
 QjGVH0VwK6IS07YtaMbZC2OvIIBucNyAdfaxwhueqmzq3McdRDTLy3ZLnvk0ORcgn/sq
 Z6iqJ1VaN/J949CaaUqbIgc/InYjqmzC1FV2A5WhFKyjuL3HKG8v02DMQla6Z809RZNw
 G/dqRQ8JK5ymRTOwH85pMcZNdq5hVlgXadrxCXzWWwuIe+JQm3lJJQJ5e4AuQHTbl24R
 k4+w==
X-Gm-Message-State: APjAAAVLLFTVK4Xz6rwGDVfDT65hcbW5BQ6+WoMc42j4ttasxdK21t2n
 mWJRRf1O+qr8tAAnv8bc8l36cycz
X-Google-Smtp-Source: APXvYqy0wgkvLLWGg1pG12J7F3qum0Oxnl1GHCYT/2JkkMrlxu/PgdIE2OJ4Rlmsw38yXrTumK80HQ==
X-Received: by 2002:a17:90a:2ec3:: with SMTP id
 h3mr21883288pjs.87.1577044191817; 
 Sun, 22 Dec 2019 11:49:51 -0800 (PST)
Received: from tomato.moose.housegordon.com (moose.housegordon.com.
 [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id g11sm18685050pgd.26.2019.12.22.11.49.48
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 22 Dec 2019 11:49:51 -0800 (PST)
Subject: Re: bug#38706: error
To: Garn-Bachmann <garn@HIDDEN>, 38706 <at> debbugs.gnu.org
References: <060baaf8-8574-becc-e012-8eb197178f53@HIDDEN>
From: Assaf Gordon <assafgordon@HIDDEN>
Message-ID: <76cdaa53-cd9f-4b1f-3ab8-cebf7188def0@HIDDEN>
Date: Sun, 22 Dec 2019 12:49:48 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <060baaf8-8574-becc-e012-8eb197178f53@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 38706
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tag 38706 moreinfo
stop

Hello,

On 2019-12-22 2:37 a.m., Garn-Bachmann wrote:
>     Inserting characters at the end leads to errors
>     cat ~/te.txt | sed 's|$|h|g'
>     h036
>     h110
>     h110

I suspect this is an issue with end-of-line characters
being "\r\n" (CR LF) in the input file.

The '$' regex matches the end of the line,
which would be AFTER the "\r". The text line becomes "0036\rh\n"
which causes the output you are seeing.

For example:

   $ printf '%s\r\n' aaa bbb ccc | sed 's|$|h|g'
   haa
   hbb
   hcc

---

There are many ways to remove the carriage return (\r) characters.
For example:

Using sed:

   $ printf '%s\r\n' aaa bbb ccc | sed 's|\r|| ; s|$|h|g'
   aaah
   bbbh
   ccch

Using "tr":

   $ printf '%s\r\n' aaa bbb ccc | tr -d '\r' | sed 's|$|h|g'
   aaah
   bbbh
   ccch

Or using the "dos2unix" programs.

---

If this solves the issue - great.
If not, please share the input file (te.txt) to help us
diagnose the issue better.
You can send it to me privately off-list if you prefer.

regards,
  - assaf




Information forwarded to bug-sed@HIDDEN:
bug#38706; Package sed. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Dec 2019 16:20:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 22 11:20:21 2019
Received: from localhost ([127.0.0.1]:50159 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ij3xs-0000Nq-8R
	for submit <at> debbugs.gnu.org; Sun, 22 Dec 2019 11:20:20 -0500
Received: from lists.gnu.org ([209.51.188.17]:52397)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <garn@HIDDEN>) id 1iixeJ-0004nA-2z
 for submit <at> debbugs.gnu.org; Sun, 22 Dec 2019 04:35:43 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:53718)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <garn@HIDDEN>) id 1iixeI-0007CM-2u
 for bug-sed@HIDDEN; Sun, 22 Dec 2019 04:35:42 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_50,HTML_MESSAGE,
 MIME_HTML_ONLY,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <garn@HIDDEN>) id 1iixeH-0003VT-6z
 for bug-sed@HIDDEN; Sun, 22 Dec 2019 04:35:41 -0500
Received: from mout.kundenserver.de ([212.227.126.187]:51491)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <garn@HIDDEN>)
 id 1iixeG-0003HK-Qv
 for bug-sed@HIDDEN; Sun, 22 Dec 2019 04:35:41 -0500
Received: from [192.168.178.28] ([84.118.240.235]) by mrelayeu.kundenserver.de
 (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id
 1MBUVj-1iW08s3LCB-00CxIB for <bug-sed@HIDDEN>; Sun, 22 Dec 2019 10:35:37
 +0100
To: bug-sed@HIDDEN
From: Garn-Bachmann <garn@HIDDEN>
Subject: error
Message-ID: <060baaf8-8574-becc-e012-8eb197178f53@HIDDEN>
Date: Sun, 22 Dec 2019 10:37:00 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.3.0
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:sFdJfvqnBJu+mxfVZMjIRJej1rYKkjl0A5PaJFUwvGf1Wbaz5vb
 fIyf2IiUVZ3Yoq9flVNCnwWhJwMb66/oo/4pEeP6DHT3UpaDhPq13aImlSItqEH6CRagMF0
 Z02rDZsP6IX3GqE1E2NSdl+SNfA58UUf1vEzkdORv+Kq5WZAznpKwftnWkJm4muhvqp7R9U
 QNBK3KOoeRMqx8HFEFOzw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:kGdIVf3iloo=:glNXGdon0Kkh+w8cdi6spr
 +uwGAw6h1b62DH5xzlJ7c1Uyd7vz3eeCfv19j5I47RyWZLpVO4M2I3PKxszHa4zWMbmR4yXaj
 oZsjsrot6ojfHXF7zX2t7pjojYkt+TeSQgc5AK2m0bAXy8Ly+AZf9WPpJn/AWvKC33BnsPcRc
 /6dqJ8GLyfLIroqf2zxCuIT5gGDLRfxJOmCY1sqWfeKgpQ/LGa7+3eBqsoGhWiTQ8ph/uYogi
 uAUGWStfdNXEG8q7bD4pwzm7bUD4ejgWuWDQCHbpHksZ+9031C52LpnfZL95LbHqq07FUMh+Y
 4RNO+v2JYA+CYtLl3DrayIQ+x0GTTvbhTYjKFnB1GMjIK632G94cNCqMAN0ni0QlPUQAmIbLr
 0fparIRFleEZiSgHKHqAw43kdCuUe+1ZuKLM39B6+4vkwwBFWZwK1Mc2nfOYEImfTvh442Yv4
 vAwhMwF51xHVzd5HIhhJmllL6wS+E9iYCVrlCftxBzQcj6xvg6Ia9gxzd2Q0COUYqFGAZt8kP
 veFSmuxhcfGHrv8qDRWePiFf2XyUlB6Hw6sf/zF359Kj/qsAeQlWCcONEjYKtIMS+BCF+E0iS
 RLKY1Rmp+A97kEFdx4+GOf8akXdtakZJmfJ5N9O1Ca4q6TiMtBfJFG8Ix+BaRTpFK8vLb0J5m
 CMePUZt/B6drLwxuX6kx1qvZ6a0JyRH+Vr3Zkswi+TFxhCkexBSPQxoAItGsYCQSY24zjhYZs
 yundMez5eJaDeJx2j50DR2OZ8gfhMQ0d5AWFtvbd13+t8JFf3dqJtx4YQDRfXVAAxgW2o1QeG
 IAPWMYoCHKuYFTyWHwQ0b/ReGh/ZHsPUpWXT967wPLV8sHFMygDUhkPbQ4nxdKUhd/vvwWYMk
 gjf5AYoQphcxr4bJLrn31Cgs6kWmtKC/iiDfR9SWo=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 212.227.126.187
X-Spam-Score: -2.2 (--)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 22 Dec 2019 11:20:19 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.2 (---)

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Verdana">working with <br>
        Debian 10 <br>
      </font>sed (GNU sed) 4.7<br>
      <br>
      <span class="tlid-translation translation" lang="en"><span
          title="" class="">Inserting characters at the end leads to
          errors<br>
          <br>
          cat ~/te.txt | sed 's|$|h|g'<br>
          h036<br>
          h110<br>
          h110<br>
          h455<br>
          h455<br>
          h455<br>
          7027h<br>
          7059h<br>
          7110h<br>
          7143h<br>
          7287h<br>
          7479h<br>
          7535h<br>
          h772<br>
          <br>
        </span></span></p>
  </body>
</html>




Acknowledgement sent to Garn-Bachmann <garn@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-sed@HIDDEN. Full text available.
Report forwarded to bug-sed@HIDDEN:
bug#38706; Package sed. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 22 Jan 2020 01:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.