<?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: Understanding Linux / UNIX tr command</title> <atom:link href="http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Billy Baroo</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-64503</link> <dc:creator>Billy Baroo</dc:creator> <pubDate>Wed, 16 Nov 2011 15:19:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-64503</guid> <description>Use asterisk in set2 to let set2 &amp; set1 have equal length, e.g.
echo &quot;AJ22 aK12 0082&quot;&#124;tr &#039;[:alpha:]&#039; &#039;[0*]&#039;</description> <content:encoded><![CDATA[<p>Use asterisk in set2 to let set2 &amp; set1 have equal length, e.g.</p><p>echo &#8220;AJ22 aK12 0082&#8243;|tr &#8216;[:alpha:]&#8216; &#8216;[0*]&#8216;</p> ]]></content:encoded> </item> <item><title>By: pat-r</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-62406</link> <dc:creator>pat-r</dc:creator> <pubDate>Tue, 13 Sep 2011 19:56:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-62406</guid> <description>I have the following examples:
Input     Output
AJ22     0022
aK12     0012
0082     0082
Can somebody post a tr command to accomplish this.
--Thanks</description> <content:encoded><![CDATA[<p>I have the following examples:<br
/> Input     Output<br
/> AJ22     0022<br
/> aK12     0012<br
/> 0082     0082</p><p>Can somebody post a tr command to accomplish this.<br
/> &#8211;Thanks</p> ]]></content:encoded> </item> <item><title>By: d1t1</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-56447</link> <dc:creator>d1t1</dc:creator> <pubDate>Mon, 21 Mar 2011 18:48:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-56447</guid> <description>i once tried this  but it also isnt too useful:
cat s &#124; tr -cs &quot;[:digit:]&quot; &quot;\n&quot; &gt; s.new0</description> <content:encoded><![CDATA[<p>i once tried this  but it also isnt too useful:<br
/> cat s | tr -cs &#8220;[:digit:]&#8221; &#8220;\n&#8221; &gt; s.new0</p> ]]></content:encoded> </item> <item><title>By: d1t1</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-56445</link> <dc:creator>d1t1</dc:creator> <pubDate>Mon, 21 Mar 2011 18:46:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-56445</guid> <description>i have a html file with only a line and i want the output to be only the NAME and the NUMBERS
example:
&lt;a href=&quot;www.google.com&quot; title=&quot;&#039;NAME&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
change output like:
NAME       542103541
Can someone tell me how,! thx in advance!</description> <content:encoded><![CDATA[<p>i have a html file with only a line and i want the output to be only the NAME and the NUMBERS<br
/> example:<br
/> <a
href="www.google.com" title="'NAME" rel="nofollow"></a><br
/> change output like:<br
/> NAME       542103541<br
/> Can someone tell me how,! thx in advance!</p> ]]></content:encoded> </item> <item><title>By: velava</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-48126</link> <dc:creator>velava</dc:creator> <pubDate>Tue, 29 Jun 2010 10:51:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-48126</guid> <description>The script used for the above is,
tr &#039;,&#039; &#039; &#039;  output.csv
In the previous comment i did mistake while typing .</description> <content:encoded><![CDATA[<p>The script used for the above is,</p><p>tr &#8216;,&#8217; &#8216; &#8216;  output.csv</p><p>In the previous comment i did mistake while typing .</p> ]]></content:encoded> </item> <item><title>By: Velava</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-48125</link> <dc:creator>Velava</dc:creator> <pubDate>Tue, 29 Jun 2010 10:48:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-48125</guid> <description>To replace comma&#039;s in .csv file by the single space i used the below script,
tr &#039;,&#039; &#039; &#039;  output.csv
After the above script has been executed, its giving the &quot;Unable to Read&quot; error message when i was trying to open the converted file such &quot;output.csv&quot;.
For the small file its not giving any error, but when i m trying to covert the 8mb file it gives the above error message..
Please help me ASAP
thanks in advance</description> <content:encoded><![CDATA[<p>To replace comma&#8217;s in .csv file by the single space i used the below script,</p><p>tr &#8216;,&#8217; &#8216; &#8216;  output.csv</p><p>After the above script has been executed, its giving the &#8220;Unable to Read&#8221; error message when i was trying to open the converted file such &#8220;output.csv&#8221;.<br
/> For the small file its not giving any error, but when i m trying to covert the 8mb file it gives the above error message..</p><p>Please help me ASAP</p><p>thanks in advance</p> ]]></content:encoded> </item> <item><title>By: kiran</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-42304</link> <dc:creator>kiran</dc:creator> <pubDate>Tue, 30 Jun 2009 10:11:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-42304</guid> <description>try this it will work
for i in *.
do
# convert uppercase to lowercase
n=&quot;$(echo ${i} &#124; tr  [:lower:]  [:upper:])&quot;
# replace whitespaces with underscores
n=&quot;$(echo &quot;${n}&quot; &#124; tr [:blank:] &#039;_&#039;)&quot;
# replace dots with underscores
n=&quot;$(echo &quot;${n}&quot; &#124; tr &#039;.&#039; &#039;_&#039;)&quot;
# replace hypens with underscores
n=&quot;$(echo &quot;${n}&quot; &#124; tr &#039;-&#039; &#039;_&#039;)&quot;
# replace multiple underscores
n=&quot;$(echo &quot;${n}&quot; &#124; tr -s &#039;_&#039;)&quot;
# remove numbers at the beginning
n=&quot;$(echo &quot;${n}&quot; &#124; sed &#039;s/^[0-9]*//&#039;)&quot;
# remove underscores at the beginning
n=&quot;$(echo &quot;${n}&quot; &#124; sed &#039;s/^\_//&#039;)&quot;
# correct file ending
n=&quot;$(echo &quot;${n}&quot; &#124; sed &#039;s/\_mp3/\.mp3/&#039;)&quot;
# rename file
mv -v &quot;$i&quot; &quot;$n&quot;;
done</description> <content:encoded><![CDATA[<p>try this it will work</p><p>for i in *.<br
/> do<br
/> # convert uppercase to lowercase<br
/> n=&#8221;$(echo ${i} | tr  [:lower:]  [:upper:])&#8221;</p><p> # replace whitespaces with underscores<br
/> n=&#8221;$(echo &#8220;${n}&#8221; | tr [:blank:] &#8216;_&#8217;)&#8221;</p><p> # replace dots with underscores<br
/> n=&#8221;$(echo &#8220;${n}&#8221; | tr &#8216;.&#8217; &#8216;_&#8217;)&#8221;</p><p> # replace hypens with underscores<br
/> n=&#8221;$(echo &#8220;${n}&#8221; | tr &#8216;-&#8217; &#8216;_&#8217;)&#8221;</p><p> # replace multiple underscores<br
/> n=&#8221;$(echo &#8220;${n}&#8221; | tr -s &#8216;_&#8217;)&#8221;</p><p> # remove numbers at the beginning<br
/> n=&#8221;$(echo &#8220;${n}&#8221; | sed &#8216;s/^[0-9]*//&#8217;)&#8221;</p><p> # remove underscores at the beginning<br
/> n=&#8221;$(echo &#8220;${n}&#8221; | sed &#8216;s/^\_//&#8217;)&#8221;</p><p> # correct file ending<br
/> n=&#8221;$(echo &#8220;${n}&#8221; | sed &#8216;s/\_mp3/\.mp3/&#8217;)&#8221;</p><p> # rename file<br
/> mv -v &#8220;$i&#8221; &#8220;$n&#8221;;<br
/> done</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-41653</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Mon, 18 May 2009 10:18:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-41653</guid> <description>Have you tried &lt;a href=http://www.cyberciti.biz/tips/renaming-multiple-files-at-a-shell-prompt.html rel=&quot;nofollow&quot;&gt;rename command&lt;/a&gt; to rename multiple files? It also support regex.. Try find command to generate a file list:
&lt;pre&gt;find /path/to/dir -iname &quot;*.mp3&quot; -print0 &#124; while read -d $&#039;\0&#039; file; do your-script.sh &quot;$file&quot;; done&lt;/pre&gt;
Create your-script.sh to rename each file:
&lt;pre&gt;#!/bin/sh
i=&quot;$@&quot;
# convert uppercase to lowercase
$n=&quot;$(echo ${i} &#124; tr [:upper:] [:lower:])&quot;
# replace whitespaces with underscores
$n=&quot;$(echo ${n} &#124; tr [:blank:] &#039;_&#039;)&quot;
# replace dots with underscores
$n=&quot;$(echo ${n} &#124; tr &#039;.&#039; &#039;_&#039;)&quot;
# replace hypens with underscores
$n=&quot;$(echo ${n} &#124; tr &#039;-&#039; &#039;_&#039;)&quot;
# replace multiple underscores
$n=&quot;$(echo ${n} &#124; tr -s &#039;_&#039;)&quot;
# remove numbers at the beginning
$n=&quot;$(echo ${n} &#124; sed &#039;s/^[0-9]*//&#039;)&quot;
# remove underscores at the beginning
$n=&quot;$(echo ${n} &#124; sed &#039;s/^\_//&#039;)&quot;
# correct file ending
$n=&quot;$(echo ${n} &#124; sed &#039;s/\_mp3/\.mp3/&#039;)&quot;
# rename file
mv -v &quot;$i&quot; &quot;$n&quot;;
&lt;/pre&gt;
HTH</description> <content:encoded><![CDATA[<p>Have you tried <a
href=http://www.cyberciti.biz/tips/renaming-multiple-files-at-a-shell-prompt.html rel="nofollow">rename command</a> to rename multiple files? It also support regex.. Try find command to generate a file list:</p><pre>find /path/to/dir -iname "*.mp3" -print0 | while read -d $'\0' file; do your-script.sh "$file"; done</pre><p>Create your-script.sh to rename each file:</p><pre>#!/bin/sh
       i="$@"
        # convert uppercase to lowercase
        $n="$(echo ${i} | tr [:upper:] [:lower:])"
        # replace whitespaces with underscores
        $n="$(echo ${n} | tr [:blank:] '_')"
        # replace dots with underscores
        $n="$(echo ${n} | tr '.' '_')"
        # replace hypens with underscores
        $n="$(echo ${n} | tr '-' '_')"
        # replace multiple underscores
        $n="$(echo ${n} | tr -s '_')"
        # remove numbers at the beginning
        $n="$(echo ${n} | sed 's/^[0-9]*//')"
        # remove underscores at the beginning
        $n="$(echo ${n} | sed 's/^\_//')"
        # correct file ending
        $n="$(echo ${n} | sed 's/\_mp3/\.mp3/')"
        # rename file
        mv -v "$i" "$n";
</pre><p>HTH</p> ]]></content:encoded> </item> <item><title>By: Avedo</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-41651</link> <dc:creator>Avedo</dc:creator> <pubDate>Mon, 18 May 2009 05:43:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-41651</guid> <description>Hey!
Nice Tutorial. I tried to write a small shell script to rename my mp3-files, but it doesn&#039;t work. What is wrong with it? Can someone help me?
Greets, Andy
&lt;pre&gt;
for i in &quot;*.[mM][pP]3&quot;;
do
# convert uppercase to lowercase
$n=&quot;$(echo ${i} &#124; tr [:upper:] [:lower:])&quot;
# replace whitespaces with underscores
$n=&quot;$(echo ${n} &#124; tr [:blank:] &#039;_&#039;)&quot;
# replace dots with underscores
$n=&quot;$(echo ${n} &#124; tr &#039;.&#039; &#039;_&#039;)&quot;
# replace hypens with underscores
$n=&quot;$(echo ${n} &#124; tr &#039;-&#039; &#039;_&#039;)&quot;
# replace multiple underscores
$n=&quot;$(echo ${n} &#124; tr -s &#039;_&#039;)&quot;
# remove numbers at the beginning
$n=&quot;$(echo ${n} &#124; sed &#039;s/^[0-9]*//&#039;)&quot;
# remove underscores at the beginning
$n=&quot;$(echo ${n} &#124; sed &#039;s/^\_//&#039;)&quot;
# correct file ending
$n=&quot;$(echo ${n} &#124; sed &#039;s/\_mp3/\.mp3/&#039;)&quot;
# rename file
mv -v &quot;$i&quot; &quot;$n&quot;;
done
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Hey!</p><p>Nice Tutorial. I tried to write a small shell script to rename my mp3-files, but it doesn&#8217;t work. What is wrong with it? Can someone help me?</p><p>Greets, Andy</p><pre>
for i in "*.[mM][pP]3";
do
        # convert uppercase to lowercase
        $n="$(echo ${i} | tr [:upper:] [:lower:])"
        # replace whitespaces with underscores
        $n="$(echo ${n} | tr [:blank:] '_')"
        # replace dots with underscores
        $n="$(echo ${n} | tr '.' '_')"
        # replace hypens with underscores
        $n="$(echo ${n} | tr '-' '_')"
        # replace multiple underscores
        $n="$(echo ${n} | tr -s '_')"
        # remove numbers at the beginning
        $n="$(echo ${n} | sed 's/^[0-9]*//')"
        # remove underscores at the beginning
        $n="$(echo ${n} | sed 's/^\_//')"
        # correct file ending
        $n="$(echo ${n} | sed 's/\_mp3/\.mp3/')"
        # rename file
        mv -v "$i" "$n";
done
</pre>]]></content:encoded> </item> <item><title>By: Chris de Vidal</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-40630</link> <dc:creator>Chris de Vidal</dc:creator> <pubDate>Fri, 06 Mar 2009 22:26:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-40630</guid> <description>pham van hai: Use the unix2dos program instead.
budoliv: I&#039;d suggest you use sed instead but I don&#039;t know the syntax off-hand.</description> <content:encoded><![CDATA[<p>pham van hai: Use the unix2dos program instead.<br
/> budoliv: I&#8217;d suggest you use sed instead but I don&#8217;t know the syntax off-hand.</p> ]]></content:encoded> </item> <item><title>By: budoliv</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-40159</link> <dc:creator>budoliv</dc:creator> <pubDate>Fri, 06 Feb 2009 22:36:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-40159</guid> <description>How do you get only the first letter capitalized?</description> <content:encoded><![CDATA[<p>How do you get only the first letter capitalized?</p> ]]></content:encoded> </item> <item><title>By: pham van hai</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-39179</link> <dc:creator>pham van hai</dc:creator> <pubDate>Tue, 11 Nov 2008 15:39:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-39179</guid> <description>please help me
convert file in window into file in linux
I try
cat file_linux &#124; tr -s &quot;\n&quot; &quot;\n\r&quot; ?
but it cannot run</description> <content:encoded><![CDATA[<p>please help me<br
/> convert file in window into file in linux<br
/> I try<br
/> cat file_linux | tr -s &#8220;\n&#8221; &#8220;\n\r&#8221; ?<br
/> but it cannot run</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-38739</link> <dc:creator>vivek</dc:creator> <pubDate>Wed, 10 Sep 2008 12:21:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-38739</guid> <description>laoa,
Avoid shell escape, enter:
&lt;code&gt;echo &#039;ab(cde)fg&#039; &#124; tr &quot;()&quot; &quot;~~&quot;&lt;/code&gt;
OR
&lt;code&gt;echo ab\(cde\fg &#124; tr &quot;()&quot; &quot;~~&quot;&lt;/code&gt;</description> <content:encoded><![CDATA[<p>laoa,</p><p>Avoid shell escape, enter:<br
/> <code>echo 'ab(cde)fg' | tr "()" "~~"</code><br
/> OR<br
/> <code>echo ab\(cde\fg | tr "()" "~~"</code></p> ]]></content:encoded> </item> <item><title>By: laoa</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-38738</link> <dc:creator>laoa</dc:creator> <pubDate>Wed, 10 Sep 2008 11:02:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-38738</guid> <description>Is there any way to do the following questions
1. Replace many different chars with one same char
ab(cde)fg -&gt; ab~cde~fg
echo ab(cde)fg &#124; tr &quot;()&quot; &quot;~~&quot;
echo a1234b &#124; tr &quot;[0-9]&quot; &quot;A&quot;
a1234b ### hope aAAAAb
echo a1234b &#124; tr &quot;[0-9]&quot; &quot;AAAA&quot;
aAAA4b
echo a1234b &#124; tr &quot;[0-9]&quot; &quot;AAAAA&quot;
aAAAAb
2. replace one char with two chars
a~b -&gt; a==b
Thanks</description> <content:encoded><![CDATA[<p>Is there any way to do the following questions</p><p>1. Replace many different chars with one same char</p><p>ab(cde)fg -&gt; ab~cde~fg<br
/> echo ab(cde)fg | tr &#8220;()&#8221; &#8220;~~&#8221;</p><p>echo a1234b | tr &#8220;[0-9]&#8221; &#8220;A&#8221;<br
/> a1234b ### hope aAAAAb<br
/> echo a1234b | tr &#8220;[0-9]&#8221; &#8220;AAAA&#8221;<br
/> aAAA4b<br
/> echo a1234b | tr &#8220;[0-9]&#8221; &#8220;AAAAA&#8221;<br
/> aAAAAb</p><p>2. replace one char with two chars</p><p>a~b -&gt; a==b</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: heba</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-38698</link> <dc:creator>heba</dc:creator> <pubDate>Mon, 01 Sep 2008 11:45:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-38698</guid> <description>How can I get the Exercises solve??
Please help me</description> <content:encoded><![CDATA[<p>How can I get the Exercises solve??</p><p>Please help me</p> ]]></content:encoded> </item> <item><title>By: Maher</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-38620</link> <dc:creator>Maher</dc:creator> <pubDate>Sat, 23 Aug 2008 11:10:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-38620</guid> <description>can you give scripts for these :
Exercise 1:  Write a shell script (named checkfiles.sh) that lists
all text files &quot;*.TXT&quot; in a directory and writes the first line of each text-file to a file called Text_Heads.
Exercise 2:   Write a shell script (called words-no.sh) that counts the number of distinct words in a text file given as Argument.
Remark: White space characters are spaces, tabs, form feeds, and new lines. Use the tr, sort, grep. wc.
Exercise 3: Write a shell script (called cleancore.sh) that removes unwanted files from a directory and its subdirectories.
Argument 1 is the directory where to start the search. It defaults to your home directory (If there is no directory by this name).
Argument 2 after the directory is standard file-name that match the files that are to be removed, it defaults is &#039;core&#039;.</description> <content:encoded><![CDATA[<p>can you give scripts for these :<br
/> Exercise 1:  Write a shell script (named checkfiles.sh) that lists<br
/> all text files &#8220;*.TXT&#8221; in a directory and writes the first line of each text-file to a file called Text_Heads.</p><p>Exercise 2:   Write a shell script (called words-no.sh) that counts the number of distinct words in a text file given as Argument.</p><p>Remark: White space characters are spaces, tabs, form feeds, and new lines. Use the tr, sort, grep. wc.</p><p>Exercise 3: Write a shell script (called cleancore.sh) that removes unwanted files from a directory and its subdirectories.<br
/> Argument 1 is the directory where to start the search. It defaults to your home directory (If there is no directory by this name).<br
/> Argument 2 after the directory is standard file-name that match the files that are to be removed, it defaults is &#8216;core&#8217;.</p> ]]></content:encoded> </item> <item><title>By: Marko</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-37471</link> <dc:creator>Marko</dc:creator> <pubDate>Wed, 13 Feb 2008 15:08:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-37471</guid> <description>tr -d &#039;nameserver&#039;  ns.ipaddress.txt
I think this would delete the word nameserver, but also all occurrences of characters from set {nameserver}, which could probably create big mess.
Proper command should be:
sed &#039;s/nameserver//g&#039;  ns.ipaddress.txt</description> <content:encoded><![CDATA[<p>tr -d &#8216;nameserver&#8217;  ns.ipaddress.txt</p><p>I think this would delete the word nameserver, but also all occurrences of characters from set {nameserver}, which could probably create big mess.</p><p>Proper command should be:<br
/> sed &#8216;s/nameserver//g&#8217;  ns.ipaddress.txt</p> ]]></content:encoded> </item> <item><title>By: Planet Lowyat</title><link>http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-37205</link> <dc:creator>Planet Lowyat</dc:creator> <pubDate>Sun, 23 Dec 2007 15:48:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/#comment-37205</guid> <description>Great tips. Typo error  -&gt; prodcued</description> <content:encoded><![CDATA[<p>Great tips. Typo error  -&gt; prodcued</p> ]]></content:encoded> </item> </channel> </rss>
