getting absolute path of a file in csh?

Gordon Marx gcmarx at gmail.com
Tue Aug 8 08:48:08 EDT 2006


On 08/08/06, Robert La Ferla <robertlaferla at comcast.net> wrote:
> If the cwd is "/users/myacct" and there is a file called
> "filename.dat", I want a command (built-in or external)  that given
> the argument "filename.dat", returns "/users/myacct/filename.dat".

echo $cwd"/"$filename

Gordon
-- 
Gordon Marx
gcmarx at gmail.com



More information about the Discuss mailing list