On 01/03/2012 12:30 AM, Bruno Haible wrote: > Pádraig Brady wrote: >> To me realpath is conceptually (cd; pwd), so I used >> the -L and -P options as defined by POSIX for cd. > > Makes good sense, yes. > >> I considered using --no-dereference, but while the symlinks >> in a path are not expanded, they are dereferenced unless -m is specified. > > Indeed, good point. > > How about '--no-symlinks'? > >> --strip was used to be compatible with the util already in Debian. > > In that case, I would add both '--no-symlinks' and '--strip' as > synonyms, and mark the latter as deprecated about one year after > Debian has dropped its own, earlier 'realpath' program. > > You are the "upstream" compared to Debian. Moving things upstream > requires some cleanups sometimes. If such cleanups don't happen, > the ill-chosen names of the first implementation stuck forever.
Completely agreed. It's much better to debate/decide naming now, rather than later. Thanks for the name suggestion (which maps nicely to the canonicalize_filename_mode(), NO_LINKS option). cheers, Pádraig.
