diff --git a/SC2006.md b/SC2006.md index ab2993c..f932106 100644 --- a/SC2006.md +++ b/SC2006.md @@ -1,14 +1,14 @@ # Use $(..) instead of legacy \`..\` -### Problematic code: +### Problematic code echo "Current time: `date`" -### Correct code: +### Correct code echo "Current time: $(date)" -### Rationale: +### Rationale Backtick command substitution `` `..` `` is legacy syntax with several issues. @@ -20,4 +20,8 @@ Backtick command substitution `` `..` `` is legacy syntax with several issues. ### Exceptions -None. \ No newline at end of file +None. + +### See also + +- http://mywiki.wooledge.org/BashFAQ/082 \ No newline at end of file