Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
it:linux:lower2upper [2006-03-07 21:56] – created rosenkeit:linux:lower2upper [2012-09-22 11:07] strols
Line 1: Line 1:
-======Umwandlung von Klein- in Großbuchstaben======+======Zeichenkonversionen======
  
-=====Unter Verwendung von sed=====+===== Umwandlung von Umwandlung von Klein- in Großbuchstaben ===== 
 + 
 +====Unter Verwendung von sed====
 <code> <code>
 echo FooBar | sed -e 's/[a-z]/\U&/g' echo FooBar | sed -e 's/[a-z]/\U&/g'
 </code> </code>
  
-=====Unter Verwendung von tr=====+====Unter Verwendung von tr====
 <code> <code>
 echo FooBar | tr '[:lower:]' '[:upper:]' echo FooBar | tr '[:lower:]' '[:upper:]'
 </code> </code>
 +
 +===== Windows- nach Unix-Zeilenwechsel konvertieren =====
 +
 +<code>
 +tr -d '\r' <in.txt >out.txt
 +</code>
 +
it/linux/lower2upper.txt · Last modified: 2012-10-16 21:36 by strols
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0