2008-12-11 bash シェルスクリプトメモ RealLife 仕事 渡された相対パスを絶対パスに変換するには #!/bin/bash workDir=`pwd` cd $1 absDir=`pwd` cd $workDir echo $absDir