Difference between revisions of "Awk"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
 +
 +
 +
== Examples ==
 +
 +
 +
 +
* Print lines if field fith value ($5) is smaller than 100:
 +
:<code>awk '$FIELD_NUMER>VALUE'</code>
 +
:Example: <code>awk '$5<100'</code>
  
  

Revision as of 10:33, 12 December 2019


Examples

  • Print lines if field fith value ($5) is smaller than 100:
awk '$FIELD_NUMER>VALUE'
Example: awk '$5<100'


See also

Advertising: