Say I have a variable with a path
release/linux/x86, and want the relative path from a different directory (i.e.
../../.. for current working directory), how would I get that in a shell command (or possibly GNU Make)?
Soft link support not required.
This question has been heavily modified based on the accepted answer for improved terminology.