cvim.sh
#!/bin/bash base_name=`echo $1 | sed "s/\.$//g"` vim -O2 $base_name.h $base_name.cpp
./cvim.sh foo