Skip to content

Commit

Permalink
README update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Leverich committed Jan 15, 2014
1 parent 128a43a commit ea5fc3f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions update_readme.sh
@@ -0,0 +1,20 @@
#!/bin/bash

set -e

trap "rm -f README.md.new" EXIT

awk '
/Command-line Options/ { seen = 1; }
{ if (!seen) print $0; }
' README.md > README.md.new

echo "Command-line Options" >> README.md.new
echo "====================" >> README.md.new
echo >> README.md.new

./mutilate --help | sed "s/^/ /" >> README.md.new

mv -f README.md.new README.md

trap "" EXIT

0 comments on commit ea5fc3f

Please sign in to comment.