Justin Pryzby <[EMAIL PROTECTED]> wrote: ... >> >> - -D, --dereference-args dereference FILEs that are symbolic links\n\ >> >> + -D, --dereference-args dereference any listed FILE that is a symbolic >> >> link\n\ >> > I hate to nitpick .. but, the necessary word is "only". >> >> IMHO, given the use in the synopsis of "FILE" (and precedent of using >> >> Usage: du [OPTION]... [FILE]... >> or: du [OPTION]... --files0-from=F >> >> "FILE" elsewhere in --help output), saying "listed FILE" is an unambiguous >> way of referring to names listed on the command line. > Ok the problem isn't the use of FILE, but the interaction with -L; > it's pretty clear that FILE refers to those as in the synopsis. But > it isn't clear from the current phrase that -D causes symbolic links > which are not command line args to be not dereferenced, if -L is > specified earlier than -D, this results in different behavior. > >> If you want to propose some alternative wording, please >> supply the complete description. > > As above, the best of which I can think: >> >> > -[DH], --dereference-args dereference only symbolic links listed >> >> > under FILEs > alternately: > "dereference symlinks only if they are included in [FILE]..."
Saying "under" or "included in" FILEs suggests that if a directory, DIR, contains a symlink-to-dir, "du -D DIR" will follow DIR/symlink-to-dir. But it doesn't do that. If you want that behavior, you should use -L. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]