Skip to content

Instantly share code, notes, and snippets.

@fabienhinault
Created April 30, 2014 13:27
Show Gist options
  • Save fabienhinault/1c8435a53c5da0bb2ca4 to your computer and use it in GitHub Desktop.
Save fabienhinault/1c8435a53c5da0bb2ca4 to your computer and use it in GitHub Desktop.
#!/bin/sh
find ./ \( -name *.cpp -o -name *.h -a ! -name version.h \) -exec ./markupfile.bash "{}" \;
#!/bin/sh
diff "$1" "../../ancetre/Packages/$1" #| grep "^[0-9]" | sed -n "s/\(^[0-9]\+\)[^0-9].*$/\1 i\\\\\n\/\/Windows7\\\r/p" > /tmp/tmp.sed && sed -bi "$1" -f /tmp/tmp.sed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment