LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs > dinakumar12
User Name
Password

Notices

Rate this Entry

converting all Lower chareacters to Upper and vice versa using sed

Posted 03-27-2014 at 05:30 AM by dinakumar12

sed -i 's/\(.*\)/\U\1/' samplefile #This converts the contents of samplefile (filename) from Lower to upper


sed -i 's/\(.*\)/\L\1/' samplefile #This converts the contents of samplefile (filename) from Upper to Lower
Posted in Uncategorized
Views 183 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration