Unnecessary Echo Low

Using 'echo $(command)' is redundant as the command's output is already directed to standard output. Simply use the command directly without 'echo' to avoid potential issues with output formatting, exit codes, and performance.

Detector ID
shell/unnecessary-echo@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-