Skip to content

Instantly share code, notes, and snippets.

View pedroduartecosta's full-sized avatar
🏠
Working from home

Pedro Costa pedroduartecosta

🏠
Working from home
View GitHub Profile
@pedroduartecosta
pedroduartecosta / comp.sh
Created February 19, 2017 13:20 — forked from bm-vs/comp.sh
#!/bin/bash
file=$1
if [ ${file: -1} == "t" ]; then
jjtree $file
file=${file%t}
fi
javacc $file
javac *.java
name=${file%.*}
echo "________________________________________________________________________________"