Pádraig Brady wrote in
<http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00237.html>:
> This is for use in a proposed coreutils `realpath` command.
> Specifically by these options:
> 
>   -L, --logical                resolve `..' components before symlinks
>   -s, --strip                  don't expand symlinks

The names of these options don't feel right.

  * --strip means making something shorter, but the resulting file name
    is not necessarily shorter: After "ln -s . dot",
    "realpath dot/dot/foo" will be "/currdir/foo",
    "realpath -s dot/dot/foo" will be "/currdir/dot/dot/foo".

    How about calling this option 'no-dereference', similar to the
    option of 'chown', 'chgrp', 'chcon', 'cp', 'touch'?

    Or '--ignore-symlinks'?

  * --logical is meant to be the opposite of "physical", right?
    How about calling this option --syntactic? Would be more self-
    explanatory.

Bruno


Reply via email to