How to get package title using shell script