Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.