Created
July 13, 2015 20:51
-
-
Save cschep/a1d2ff3ecbbda4915be6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
if [ ! -f $2 ]; then | |
touch $2 | |
fi | |
echo $1 >> $2 | |
cat names.txt | | |
while read name; do | |
clear | |
echo "***" $name "***" | |
git checkout origin/$name --quiet | |
echo "$name|3|3|3|" >> $2 | |
# vim -O $1 ~/hackreactor/grading/metric.self-assessment/problems/$1 < /dev/tty > /dev/tty | |
vim -c ":30split ~/hackreactor/grading/metric.self-assessment/problems/$1" -c ":vsplit $1" + $2 < /dev/tty > /dev/tty | |
# read confirm < /dev/tty | |
# echo $name|$confirm >> $2 | |
git co $1 --quiet | |
done | |
git checkout master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment