Skip to main content

All Questions

Tagged with
2 votes
2 answers
2k views

How do I resolve a relative path in a POSIX shell if readlink/realpath is not available?

If neither utility readlink, nor realpath is available (I think today mostly from GNU coreutils?), what can I use in POSIX shell scripting to resolve a relative path? There is a realpath C function, ...
finefoot's user avatar
  • 3,132