no way to compare when less than two revisions

Differences

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


it:linux:zeichenkonversionen [2012-10-16 21:36] (current) – created strols
Line 1: Line 1:
 +======Zeichenkonversionen======
 +
 +===== Umwandlung von Umwandlung von Klein- in Großbuchstaben =====
 +
 +====Unter Verwendung von sed====
 +<code>
 +echo FooBar | sed -e 's/[a-z]/\U&/g'
 +</code>
 +
 +====Unter Verwendung von tr====
 +<code>
 +echo FooBar | tr '[:lower:]' '[:upper:]'
 +</code>
 +
 +===== Windows- nach Unix-Zeilenwechsel konvertieren =====
 +
 +<code>
 +tr -d '\r' <in.txt >out.txt
 +</code>
  
it/linux/zeichenkonversionen.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