[Bug 999207] Re: what is the operative readlink command?
Ralph Corderoy
ralph at inputplus.co.uk
Mon May 14 22:53:06 UTC 2012
When running the ./install script it seems to me that readlink works
correctly, do you agree?
Running readlink at the command line and passing it $0 might result in
the errors you are seeing depending on the value of $0. Please try
printf '<%s>\n' "$0"
readlink -f -- "$0"
The pasting of your terminal session above is a bit corrupted;
readlink's errors appear on the same line as your command. It helps us
if we see precisely what you entered and saw in response. So for the
above, I see
$ printf '<%s>\n' "$0"
</bin/bash>
$ readlink -f -- "$0"
/bin/bash
$
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/999207
Title:
what is the operative readlink command?
Status in “coreutils” package in Ubuntu:
Incomplete
Bug description:
I stumlbed accross a problem where a script kept failing when running the readlink command.
It did not like the use of the -f flag which is supported in the man page. I got past the problem using /usr/lib/klibc/bin/readlink found through a search of the system. More details can be found in the forum using the tag "readlink".
What is going on with the readlink command?
Ubuntu 12.04 (precise)
2.6.38-8-generic
Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/999207/+subscriptions
More information about the foundations-bugs
mailing list