Docker

Docker

Made by DeepSource

No need of escape sequence DOK-SC1001

Anti-pattern
Minor

You have escaped something that has no special meaning when escaped. The backslash will be simply be ignored.

If the backslash was supposed to be literal, enclose it within single quotes, or escape it.

If you wanted it to expand to something, rewrite the expression to use printf (or in bash, $'\t').

Bad Practice

# Want literal backslash
echo Yay \o/

# Want other characters
bell=\a

Recommended

echo 'Yay \o/'

bell="$(printf '\a')"