From a4d14d3533099c5c8c47be491fa8fc62ecdc40bd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 26 Mar 2012 07:38:27 +0200 Subject: 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. --- src/mv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mv.c b/src/mv.c index b1d4e79ff..ee2f5a10c 100644 --- a/src/mv.c +++ b/src/mv.c @@ -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), -- cgit v1.2.3-70-g09d2