Code Snippets/awk

From Yossi Farjoun's Homepage
Revision as of 10:33, 14 December 2009 by Yossi (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Useful snippets of code using awk

svn st |  awk '/^\?/ {print $2}'

Finds those files that are unknown to svn and prints out their names. You can then pipe this output to add them to svn...

Personal tools