On 31 July 2013 13:36, Cedric Blancher <[email protected]> wrote: > On 31 July 2013 04:12, Dan Douglas <[email protected]> wrote: >> `readlink -f' is the most common invocation I see in scripts. I'd recommend >> making compatibility with at least coreutils' readlink a goal. See >> path_resolution(7) from the Linux man-pages for details on that part. > > Agreed. But as Roland Mainz wrote "the work for the { -e, -f, -m > }-options has a dependency on |fgetcwd()|.". So we have to wait with > -f until fgetcwd() appears in libast, and until then take readlink(1) > as is. Good enough for me, and good enough for users coming from > FreeBSD or busybox. >
Glenn, is there *now* hope to get readlink(1) integrated into libcmd? I know ls -l could work too but there are existing consumers (mostly FreeBSD and busybox) relying on readlink(1) and realpath(1) who could benefit from this work. Ced -- Cedric Blancher <[email protected]> Institute Pasteur _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
