标签: bash shell
我有以下脚本,如何删除变量TAG的前导和尾随空格?
TAG
TAG=`find projectversions -build Current${BUILD} ${PROJECT}|grep ${PROJECT}` echo "TAG $TAG"