diff options
author | Jim Meyering <meyering@redhat.com> | 2012-03-26 07:38:27 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-03-26 07:38:37 +0200 |
commit | a4d14d3533099c5c8c47be491fa8fc62ecdc40bd (patch) | |
tree | 221d1927fb9d3f7798b943d6bdac2dd3cc26047a /src | |
parent | 488172c499dd8edf84f44cbab3de5d6f75dd722e (diff) | |
download | coreutils-a4d14d3533099c5c8c47be491fa8fc62ecdc40bd.tar.xz |
doc: use $(...), not `...` in documentation and comments
* doc/coreutils.texi (dircolors invocation, Examples of expr):
(shred invocation, seq invocation): Use $(...), not `...`.
* src/mv.c (do_move): Likewise, in a comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/mv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -174,7 +174,7 @@ do_move (const char *source, const char *dest, const struct cp_options *x) parent. It doesn't make sense to move a directory into itself, and besides in some situations doing so would give highly nonintuitive results. Run this 'mkdir b; touch a c; mv * b' in an empty - directory. Here's the result of running echo `find b -print`: + directory. Here's the result of running echo $(find b -print): b b/a b/b b/b/a b/c. Notice that only file 'a' was copied into b/b. Handle this by giving a diagnostic, removing the copied-into-self directory, DEST ('b/b' in the example), |