README update.
This commit is contained in:
parent
128a43ab98
commit
ea5fc3f3c2
20
update_readme.sh
Normal file
20
update_readme.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user