<?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: 10 tr Command Examples in Linux	</title>
	<atom:link href="https://www.tecmint.com/tr-command-examples-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/tr-command-examples-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 13 Jul 2023 19:28:05 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Shalinda Fernando		</title>
		<link>https://www.tecmint.com/tr-command-examples-in-linux/comment-page-1/#comment-1929539</link>

		<dc:creator><![CDATA[Shalinda Fernando]]></dc:creator>
		<pubDate>Tue, 13 Dec 2022 09:45:16 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30891#comment-1929539</guid>

					<description><![CDATA[Just to inform there is a typo in the 6th point. Have a look:

$ cat domains.txt &#124; tr -s &#039;&#039; 	&#060;= Original
$ cat domains.txt &#124; tr -s &#039;.&#039;	&#060;= Edited: Notice the &#034;.&#034; (dot)

Output:

&lt;code&gt;www.tecmint.com
www.fossmint.com
www.linuxsay.com&lt;/code&gt;
]]></description>
			<content:encoded><![CDATA[<p>Just to inform there is a typo in the 6th point. Have a look:</p>
<p>$ cat domains.txt | tr -s &#8221; 	&lt;= Original<br />
$ cat domains.txt | tr -s &#039;.&#039;	&lt;= Edited: Notice the &quot;.&quot; (dot)</p>
<p>Output:</p>
<p><code>www.tecmint.com<br />
www.fossmint.com<br />
www.linuxsay.com</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/tr-command-examples-in-linux/comment-page-1/#comment-1909041</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Thu, 03 Nov 2022 06:38:21 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30891#comment-1909041</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/tr-command-examples-in-linux/comment-page-1/#comment-1909039&quot;&gt;kl&lt;/a&gt;.

@kl,

Thanks, corrected the command in the article...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/tr-command-examples-in-linux/comment-page-1/#comment-1909039">kl</a>.</p>
<p>@kl,</p>
<p>Thanks, corrected the command in the article&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: kl		</title>
		<link>https://www.tecmint.com/tr-command-examples-in-linux/comment-page-1/#comment-1909039</link>

		<dc:creator><![CDATA[kl]]></dc:creator>
		<pubDate>Thu, 03 Nov 2022 06:34:09 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30891#comment-1909039</guid>

					<description><![CDATA[Thanks for the great examples. There is a small typo in the first example.

You do 

$ cat linux.txt

linux is my life
linux has changed my life
linux is best and everthing to me..:)

and then 

$ cat domains.txt &#124; tr [:lower:] [:upper:]

LINUX IS MY LIFE
LINUX HAS CHANGED MY LIFE
LINUX IS BEST AND EVERTHING TO ME..:)

This should be instead.

$ cat linux.txt &#124; tr [:lower:] [:upper:]
]]></description>
			<content:encoded><![CDATA[<p>Thanks for the great examples. There is a small typo in the first example.</p>
<p>You do </p>
<p>$ cat linux.txt</p>
<p>linux is my life<br />
linux has changed my life<br />
linux is best and everthing to me..:)</p>
<p>and then </p>
<p>$ cat domains.txt | tr [:lower:] [:upper:]</p>
<p>LINUX IS MY LIFE<br />
LINUX HAS CHANGED MY LIFE<br />
LINUX IS BEST AND EVERTHING TO ME..:)</p>
<p>This should be instead.</p>
<p>$ cat linux.txt | tr [:lower:] [:upper:]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: bart		</title>
		<link>https://www.tecmint.com/tr-command-examples-in-linux/comment-page-1/#comment-1808429</link>

		<dc:creator><![CDATA[bart]]></dc:creator>
		<pubDate>Sat, 28 May 2022 13:00:18 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30891#comment-1808429</guid>

					<description><![CDATA[Hi, How can I remove duplicates of the words from a large text file using the &lt;strong&gt;tr&lt;/strong&gt; command?]]></description>
			<content:encoded><![CDATA[<p>Hi, How can I remove duplicates of the words from a large text file using the <strong>tr</strong> command?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Phil Headford		</title>
		<link>https://www.tecmint.com/tr-command-examples-in-linux/comment-page-1/#comment-1608483</link>

		<dc:creator><![CDATA[Phil Headford]]></dc:creator>
		<pubDate>Sat, 16 Oct 2021 02:41:56 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30891#comment-1608483</guid>

					<description><![CDATA[I have a string that I assigned to a key combination, &lt;code&gt;ctrl+k&lt;/code&gt;. The intention is to take the selected (highlighted) text in a textbox in one application, strip out all dots, replace all spaces with underscores, then place the amended text in the clipboard. the line is:
&lt;pre&gt;
xcopy -o &#124; tr &quot; &quot; &quot;_&quot; &#124; tr -d &quot;.&quot; &#124; xcopy -selection clipboard
&lt;/pre&gt;
When I test the line in a terminal, it works fine. If I try it using&lt;code&gt; ctrl+k&lt;/code&gt;, it leaves dots in the output string in the clipboard. This is puzzling me.]]></description>
			<content:encoded><![CDATA[<p>I have a string that I assigned to a key combination, <code>ctrl+k</code>. The intention is to take the selected (highlighted) text in a textbox in one application, strip out all dots, replace all spaces with underscores, then place the amended text in the clipboard. the line is:</p>
<pre>
xcopy -o | tr " " "_" | tr -d "." | xcopy -selection clipboard
</pre>
<p>When I test the line in a terminal, it works fine. If I try it using<code> ctrl+k</code>, it leaves dots in the output string in the clipboard. This is puzzling me.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
