#!/bin/bash workspace="TITextProcessing.xcworkspace" workspacePath=$(echo "$0" | rev | cut -f2- -d '/' | rev) open "`pwd`/$workspacePath/$workspace"