getAbsPath 1.4 review

Download
by rbytes.net on

getAbsPath is a C header (getAbsPath.h) or an ANSI C tool (getAbsPath) which converts relative unix/win32 pathes to absolute ones.

License: Public Domain
File size: 0K
Developer: Philippe Stellwag
0 stars award from rbytes.net

getAbsPath is a C header (getAbsPath.h) or an ANSI C tool (getAbsPath) which converts relative unix/win32 pathes to absolute ones.

getAbsPath uses current working directory (CWD) as basis. Use it e.g. for finding out the current path of a shell script.

EXAMPLE:

find out the current path of a script, using the $0 and the ` pwd` command

#!/bin/bash
PWD=`pwd`
RelPath="../../../testdir"
GAP=`./getAbsPath $PWD $0`
echo $GAP
exit 0

getAbsPath 1.4 keywords