diff --git a/extra/shutils/blanks.sh b/extra/shutils/blanks.sh new file mode 100755 index 000000000..17c951538 --- /dev/null +++ b/extra/shutils/blanks.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# $Id$ + +# Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/) +# See the file 'doc/COPYING' for copying permission + +# Removes trailing spaces from blank lines inside project files +find ../../. -type f -iname '*.py' -exec sed -i 's/^[ \t]*$//' {} \; diff --git a/extra/shutils/id.sh b/extra/shutils/id.sh new file mode 100755 index 000000000..b29e5df8f --- /dev/null +++ b/extra/shutils/id.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# $Id$ + +# Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/) +# See the file 'doc/COPYING' for copying permission + +# Adds SVN property 'Id' to project files +find ../../. -type f -name "*.py" -exec svn propset svn:keywords "Id" '{}' \; \ No newline at end of file