Shell Scripting: Good; Sane Tools: Better

Posted: Sun, 30 July 2006 | permalink | No comments

While David Gibbons' little shell snippet to add unknown files to an SVN repository is nice:

 svn status | awk '/\?/ {print $2}' | xargs svn add

You can do better if your revision control system can answer the questions you really need answered:

 bzr add $(bzr unknowns)

Comments on this post are closed.