Skip to content
Snippets Groups Projects
Commit 95839b7b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

untabify

parent ccbf81eb
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
if [ $# -lt 1 ] ; then
echo "Usage: untabify files" 1>&2
exit 1
else
for file in $@; do
echo Modifying $file
mv $file $file~
expand $file~ > $file
done
fi
files=`find ../.. \( -name "*.cpp" -or -name "*.h" \) -and -not -path "*contrib*"`
echo $files
for file in $files; do
echo Untabifying $file
expand $file > $file~
mv -f $file~ $file
done
......@@ -2,7 +2,7 @@
files=`find ../.. -not -path "*.svn*" -and -not -path "*lib*" -and -not -path "*bin*" -and -not -name "update_copyright.sh" | xargs grep 'Copyright (C) 1997-2009 C. Geuzaine, J.-F. Remacle' -sl`
echo $files
# echo $files
for file in $files
do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment