Skip to content

Instantly share code, notes, and snippets.

@mbektchiev
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save mbektchiev/60761c717a708e5de33c to your computer and use it in GitHub Desktop.

Select an option

Save mbektchiev/60761c717a708e5de33c to your computer and use it in GitHub Desktop.
#!/bin/bash
IFS=$'\n'
for j in {1..20}; do
echo Iteration number: $j/20
for i in `find -iname \*.cpp -o -iname \*.h -o -iname \*.cs` ; do
# for i in `cat filelist.txt` ; do
sed "s/^\(\t*\) /\1\t/g" -i $i ;
done;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment