#to run this file: cd to your own directory; then
#source /public/subjects/cs432/data/other/babies2xgobi
cut -d" " -f1,2 /public/subjects/cs432/data/other/babies.dat >babies
cut -d" " -f3 /public/subjects/cs432/data/other/babies.dat|\
sed -e "s/boy/5/g" |\
sed -e "s/girl/9/g" >babies.glyphs
cut -d" " -f3 /public/subjects/cs432/data/other/babies.dat|\
sed -e "s/boy/red/g" |\
sed -e "s/girl/yellow/g" >babies.colors

cat <<'EOF' >babies.collab
Length
Weight
'EOF'