Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
it:oss:awk [2006-08-15 11:30] – fieldseparator hinzugefügt rosenkeit:oss:awk [2012-10-16 21:30] (current) strols
Line 6: Line 6:
 <code>awk -F ":" '{ print $1\; print $2\; print $3\; }' /etc/passwd</code> <code>awk -F ":" '{ print $1\; print $2\; print $3\; }' /etc/passwd</code>
 siehe auch: sed & awk. kurz & gut. 30-32. siehe auch: sed & awk. kurz & gut. 30-32.
 +
 +==== Text zwischen zwei Zeilen ausgeben ====
 +
 +<code>awk '/begin/,/end/' file.txt</code>
  
it/oss/awk.1155634247.txt · Last modified: 2012-10-16 21:30 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0