<?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: Shell Scripting: Convert Uppercase to Lowercase</title> <atom:link href="http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/</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: chandra</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-62229</link> <dc:creator>chandra</dc:creator> <pubDate>Wed, 07 Sep 2011 14:17:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-62229</guid> <description>Nice example it helped my issue</description> <content:encoded><![CDATA[<p>Nice example it helped my issue</p> ]]></content:encoded> </item> <item><title>By: mdinaz</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-61487</link> <dc:creator>mdinaz</dc:creator> <pubDate>Thu, 11 Aug 2011 15:54:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-61487</guid> <description>This doesn&#039;t work with the old Solaris version of tr, you need to use the GNU version in /usr/xpg4/bin on Solaris.</description> <content:encoded><![CDATA[<p>This doesn&#8217;t work with the old Solaris version of tr, you need to use the GNU version in /usr/xpg4/bin on Solaris.</p> ]]></content:encoded> </item> <item><title>By: Riot</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-59287</link> <dc:creator>Riot</dc:creator> <pubDate>Sat, 07 May 2011 18:52:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-59287</guid> <description>In bash 4, the easiest and by far the most elegant way to do this for lowercase is:
echo ${string,,*}
and for uppercase:
echo ${string^^*}</description> <content:encoded><![CDATA[<p>In bash 4, the easiest and by far the most elegant way to do this for lowercase is:</p><p>echo ${string,,*}</p><p>and for uppercase:</p><p>echo ${string^^*}</p> ]]></content:encoded> </item> <item><title>By: migyudtfr</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-56160</link> <dc:creator>migyudtfr</dc:creator> <pubDate>Sun, 06 Mar 2011 20:11:44 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-56160</guid> <description>&lt;pre&gt;#! /bin/bash
typeset -l string
string=&quot;HELLO WORLD&quot;
echo $string&lt;/pre&gt;</description> <content:encoded><![CDATA[<pre>#! /bin/bash
typeset -l string
string="HELLO WORLD"
echo $string</pre>]]></content:encoded> </item> <item><title>By: irshad</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-51430</link> <dc:creator>irshad</dc:creator> <pubDate>Tue, 07 Dec 2010 17:46:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-51430</guid> <description>hey guys your info has been really helpful. I m an Mca student and am vry good in C lang. Since it is embedd in ma brain, i feel it very hard to learn another script lang llike Unix but i want to perforn in Unix too. Could please help me by providn som basic tips so i can learn shell progming quickly.
Ur help vl b greatly appreciated</description> <content:encoded><![CDATA[<p>hey guys your info has been really helpful. I m an Mca student and am vry good in C lang. Since it is embedd in ma brain, i feel it very hard to learn another script lang llike Unix but i want to perforn in Unix too. Could please help me by providn som basic tips so i can learn shell progming quickly.<br
/> Ur help vl b greatly appreciated</p> ]]></content:encoded> </item> <item><title>By: Anil</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-51127</link> <dc:creator>Anil</dc:creator> <pubDate>Fri, 26 Nov 2010 07:39:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-51127</guid> <description>cat  &#124; tr [[:upper:]] [[:lower:]]</description> <content:encoded><![CDATA[<p>cat  | tr [[:upper:]] [[:lower:]]</p> ]]></content:encoded> </item> <item><title>By: Joseph</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-50488</link> <dc:creator>Joseph</dc:creator> <pubDate>Mon, 01 Nov 2010 15:39:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-50488</guid> <description>Thanks for this opportunity, to ask this question, This is my question.
HOW DO I TRANSLATE TEXT IN A FILE FROM ONE CASE TO ANOTHER.</description> <content:encoded><![CDATA[<p>Thanks for this opportunity, to ask this question, This is my question.<br
/> HOW DO I TRANSLATE TEXT IN A FILE FROM ONE CASE TO ANOTHER.</p> ]]></content:encoded> </item> <item><title>By: reneuend</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-43711</link> <dc:creator>reneuend</dc:creator> <pubDate>Wed, 16 Sep 2009 14:56:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-43711</guid> <description>If you just want to change the case of the file extension, here is one way to do it:
for f in *.TXT; do mv $f `basename $f .TXT`.txt; done;</description> <content:encoded><![CDATA[<p>If you just want to change the case of the file extension, here is one way to do it:</p><p>for f in *.TXT; do mv $f `basename $f .TXT`.txt; done;</p> ]]></content:encoded> </item> <item><title>By: Asun Friere</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-43599</link> <dc:creator>Asun Friere</dc:creator> <pubDate>Mon, 07 Sep 2009 04:53:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-43599</guid> <description>&lt;i&gt;Is there any options so that Other than first letter of a word get converted to lowercase&lt;/i&gt;
You mean preserve the first and translate the rest?  How about:
&lt;code&gt;echo $(echo $VAR_NAME &#124; cut -c1)$(echo $VAR_NAME &#124; cut -c2- &#124; tr [A-Z] [a-z])&lt;/code&gt;</description> <content:encoded><![CDATA[<p><i>Is there any options so that Other than first letter of a word get converted to lowercase</i></p><p>You mean preserve the first and translate the rest?  How about:<br
/> <code>echo $(echo $VAR_NAME | cut -c1)$(echo $VAR_NAME | cut -c2- | tr [A-Z] [a-z])</code></p> ]]></content:encoded> </item> <item><title>By: vinutha</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-43580</link> <dc:creator>vinutha</dc:creator> <pubDate>Sat, 05 Sep 2009 04:46:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-43580</guid> <description>show the correct program fully</description> <content:encoded><![CDATA[<p>show the correct program fully</p> ]]></content:encoded> </item> <item><title>By: sanjay Katiyar</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-42929</link> <dc:creator>sanjay Katiyar</dc:creator> <pubDate>Fri, 07 Aug 2009 07:40:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-42929</guid> <description>Is there any options so that Other than first letter of a word get converted to lowercase</description> <content:encoded><![CDATA[<p>Is there any options so that Other than first letter of a word get converted to lowercase</p> ]]></content:encoded> </item> <item><title>By: Raja Baz</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-42762</link> <dc:creator>Raja Baz</dc:creator> <pubDate>Tue, 28 Jul 2009 10:48:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-42762</guid> <description>Damn I didn&#039;t notice this thing had html tags enabled and used angled brackets in my post. I meant:
tr [all uppercase cyrillic characters] [their lowercase equivalent]
instead of just &#039;tr&#039;</description> <content:encoded><![CDATA[<p>Damn I didn&#8217;t notice this thing had html tags enabled and used angled brackets in my post. I meant:</p><p>tr [all uppercase cyrillic characters] [their lowercase equivalent]<br
/> instead of just &#8216;tr&#8217;</p> ]]></content:encoded> </item> <item><title>By: Raja Baz</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-42761</link> <dc:creator>Raja Baz</dc:creator> <pubDate>Tue, 28 Jul 2009 10:47:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-42761</guid> <description>Well, tr has no way of knowing what are uppercase and what are lowercase cyrillic characters.  You need to provide it with this information.
tr
The example above is equivalent to:
&lt;pre&gt;tr [ABCDEFGHIJKLMNOPQRSTUVWXYZ] [abcdefghijklmnopqrstuvwxyz]&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Well, tr has no way of knowing what are uppercase and what are lowercase cyrillic characters.  You need to provide it with this information.</p><p>tr</p><p>The example above is equivalent to:</p><pre>tr [ABCDEFGHIJKLMNOPQRSTUVWXYZ] [abcdefghijklmnopqrstuvwxyz]</pre>]]></content:encoded> </item> <item><title>By: Lucas Vieites</title><link>http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-40351</link> <dc:creator>Lucas Vieites</dc:creator> <pubDate>Wed, 18 Feb 2009 11:28:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-shell-programming-converting-lowercase-uppercase/#comment-40351</guid> <description>This work fine when using latin characters, but not when using Unicode characters. For example a string with Cyrillic characters (&quot;Английский&quot;) doesn&#039;t get converted. Any tips on how to do that?</description> <content:encoded><![CDATA[<p>This work fine when using latin characters, but not when using Unicode characters. For example a string with Cyrillic characters (&#8220;Английский&#8221;) doesn&#8217;t get converted. Any tips on how to do that?</p> ]]></content:encoded> </item> </channel> </rss>
