I feel stupid -- determine the full path to a file

Andrew McNabb amcnabb at mcnabbs.org
Thu Dec 6 12:51:00 MST 2007


On Thu, Dec 06, 2007 at 12:47:32PM -0700, Shane Hathaway wrote:
> 
> abspath=$(cd $(dirname $fn); pwd)/$(basename $fn)

Okay.  Yours it better than mine. :)


-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868



More information about the PLUG mailing list