In exceptions section, added example of PS4

wileyhy
2023-06-12 09:26:45 -07:00
parent 540677dea2
commit 9650b471d0

@@ -36,6 +36,11 @@ If you know that you want the expression literally without expansion, you can [[
echo 'PATH=$PATH:/usr/local/bin' >> ~/.bashrc
```
```
# We also want this variable to output $BASH_SOURCE:$LIN... during an execution trace.
PS4='+$BASH_SOURCE:$LINENO:$FUNCNAME: '
```
ShellCheck also does not warn about escaped expansions in double quotes:
```