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)

Post a comment

All comments are held for moderation; markdown formatting accepted.

This is a honeypot form. Do not use this form unless you want to get your IP address blacklisted. Use the second form below for comments.
Name: (required)
E-mail: (required, not published)
Website: (optional)
Name: (required)
E-mail: (required, not published)
Website: (optional)