Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
it:linux:lower2upper [2012-09-22 11:07] strolsit:linux:lower2upper [2012-10-16 21:36] (current) – Verlegung strols
Line 1: Line 1:
-======Zeichenkonversionen====== +Diese Seite wurde [[it:linux:zeichenkonversionen|verlegt]].
- +
-===== 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/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