mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Updated SC2142 (markdown)
@@ -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}' "$@"; }`
|
Reference in New Issue
Block a user