<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: OS X + Sed: &#8220;extra characters at the end of l command&#8221; Error	</title>
	<atom:link href="https://myshittycode.com/2014/07/24/os-x-sed-extra-characters-at-the-end-of-l-command-error/feed/" rel="self" type="application/rss+xml" />
	<link>https://myshittycode.com/2014/07/24/os-x-sed-extra-characters-at-the-end-of-l-command-error/</link>
	<description>Embracing the Messiness in Search of Epic Solutions</description>
	<lastBuildDate>Fri, 06 Jan 2023 16:53:06 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>
		By: Choon-Chern Lim		</title>
		<link>https://myshittycode.com/2014/07/24/os-x-sed-extra-characters-at-the-end-of-l-command-error/#comment-314</link>

		<dc:creator><![CDATA[Choon-Chern Lim]]></dc:creator>
		<pubDate>Thu, 28 Apr 2022 14:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://myshittycode.com/?p=525#comment-314</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://myshittycode.com/2014/07/24/os-x-sed-extra-characters-at-the-end-of-l-command-error/#comment-279&quot;&gt;pratel jakey&lt;/a&gt;.

BSD&#039;s sed (used by Mac) is a little different from GNU&#039;s sed. You can get &lt;a href=&quot;https://unix.stackexchange.com/questions/401905/bsd-sed-vs-gnu-sed-and-i&quot; rel=&quot;nofollow ugc&quot;&gt;more info from here&lt;/a&gt;. That said, you probably can install GNU&#039;s sed on Mac using Homebrew if you wish.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://myshittycode.com/2014/07/24/os-x-sed-extra-characters-at-the-end-of-l-command-error/#comment-279">pratel jakey</a>.</p>
<p>BSD&#8217;s sed (used by Mac) is a little different from GNU&#8217;s sed. You can get <a href="https://unix.stackexchange.com/questions/401905/bsd-sed-vs-gnu-sed-and-i" rel="nofollow ugc">more info from here</a>. That said, you probably can install GNU&#8217;s sed on Mac using Homebrew if you wish.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: pratel jakey		</title>
		<link>https://myshittycode.com/2014/07/24/os-x-sed-extra-characters-at-the-end-of-l-command-error/#comment-279</link>

		<dc:creator><![CDATA[pratel jakey]]></dc:creator>
		<pubDate>Tue, 26 Apr 2022 21:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://myshittycode.com/?p=525#comment-279</guid>

					<description><![CDATA[I got it to work but can you explain _why_ that works?]]></description>
			<content:encoded><![CDATA[<p>I got it to work but can you explain _why_ that works?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: oh la la (@trendinhastasi)		</title>
		<link>https://myshittycode.com/2014/07/24/os-x-sed-extra-characters-at-the-end-of-l-command-error/#comment-64</link>

		<dc:creator><![CDATA[oh la la (@trendinhastasi)]]></dc:creator>
		<pubDate>Thu, 25 Jun 2020 11:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://myshittycode.com/?p=525#comment-64</guid>

					<description><![CDATA[I can&#039;t still get the following working on macOS Sierra;

`sed -i &#039;&#039; &#039;/^$/{N ; /second/D}&#039; data-with-empty-lines2.txt`]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t still get the following working on macOS Sierra;</p>
<p>`sed -i &#8221; &#8216;/^$/{N ; /second/D}&#8217; data-with-empty-lines2.txt`</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Asle		</title>
		<link>https://myshittycode.com/2014/07/24/os-x-sed-extra-characters-at-the-end-of-l-command-error/#comment-63</link>

		<dc:creator><![CDATA[Asle]]></dc:creator>
		<pubDate>Tue, 08 Oct 2019 11:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://myshittycode.com/?p=525#comment-63</guid>

					<description><![CDATA[Thanks! Got the same issue with error &quot;sed: 1: &quot;hello.txt&quot;: extra characters at the end of h command&quot; so adding the empty &#039;&#039; solved that. 
sed -i &#039;&#039; &#039;s/FOO/BaR/g&#039; hello.txt]]></description>
			<content:encoded><![CDATA[<p>Thanks! Got the same issue with error &#8220;sed: 1: &#8220;hello.txt&#8221;: extra characters at the end of h command&#8221; so adding the empty &#8221; solved that.<br />
sed -i &#8221; &#8216;s/FOO/BaR/g&#8217; hello.txt</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christoph Ruepprich		</title>
		<link>https://myshittycode.com/2014/07/24/os-x-sed-extra-characters-at-the-end-of-l-command-error/#comment-62</link>

		<dc:creator><![CDATA[Christoph Ruepprich]]></dc:creator>
		<pubDate>Wed, 19 Jun 2019 18:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://myshittycode.com/?p=525#comment-62</guid>

					<description><![CDATA[Thanks!]]></description>
			<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 53/60 queries in 0.021 seconds using Disk

Served from: myshittycode.com @ 2026-02-18 01:38:06 by W3 Total Cache
-->