Projects / getAbsPath

getAbsPath

getAbsPath is a C header (getAbsPath.h) or an ANSI C tool (getAbsPath) that converts relative Unix/Win32 paths to absolute ones. It uses the current working directory (CWD) as a basis. You can use it for tasks such as finding out the current path of a shell script.

Tags Utilities Software Development Libraries education Desktop Environment tools
Licenses Public Domain
Operating Systems OS Independent
Implementation C
Translations English

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  07 Sep 2004 06:53
  • Rrelease-after

No changes have been submitted for this release.

No changes have been submitted for this release.

Rss Recent comments

Rcomment-before 16 Sep 2004 03:48 Rcomment-trans stellwag Rcomment-after

Re: Useless for UNIX?

> What's wrong with:

%

> For shell: set cwd_abs=`cd $1 &&

> pwd`

>

> For C: realpath(...)

This doesn't work for all operating systems!

Rcomment-before 07 Sep 2004 07:51 Rcomment-trans konmal Rcomment-after

Useless for UNIX?
What's wrong with:

For shell: set cwd_abs=`cd $1 && pwd`

For C: realpath(...)

E9ba94f3eb7ee961bbabd1a4a8ccdc42_thumb

Project Spotlight

GNMS

A tool to monitor the states of network elements.

4367a62129bf0aa99f6a48b21a1c7566_thumb

Project Spotlight

subtle

A tiling window manager with a very flexible and dynamic layout.