From 2579e708825b2dc52c170fb37b4da4586b8076bd Mon Sep 17 00:00:00 2001 From: koalaman Date: Mon, 5 Sep 2016 12:57:17 -0700 Subject: [PATCH] Updated SC2142 (markdown) --- SC2142.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2142.md b/SC2142.md index ce1e81b..f37e8c2 100644 --- a/SC2142.md +++ b/SC2142.md @@ -19,4 +19,4 @@ Aliases just substitute the start of a command with something else. They therefo ### Exceptions -None. +If your alias ends up quoting the value, e.g. `alias cut_first="awk '{print \$1}'"`, you can technically [[ignore]] this error. However, you should consider turning this alias into a more readable function instead: `cut_first() { awk '{print $1}' "$@"; }` \ No newline at end of file