User Tools

Site Tools


using_awk

Differences

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

Link to this comparison view

using_awk [2010/12/03 23:32] (current)
tkbletsc created
Line 1: Line 1:
 +====== Using awk ======
 +
 +Basic syntax:
 +  awk <search pattern> {<program actions>}
 +  
 +Examples:
 +  svn st | awk '/^\?/ {print $2}'          # print names of unknown svn files
 +  ps -A | awk '{print $1}'                 # print all pids
 +
  
using_awk.txt ยท Last modified: 2010/12/03 23:32 by tkbletsc