You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it should have printed the source line unchanged, i.e. as RED=$'\x1b[31m'.
I tried to fix this, but couldn't find the place where the source line is printed (in lib/hooks.sh?).
If you pointed me to the right source, I'd try again to fix this.
#!/bin/bash
RED=$'\x1b[31m'
RESET=$'\x1b[0m'read -e -p "Please enter a name: " -r NAME
echo"The name is $RED$NAME$RESET!"
The text was updated successfully, but these errors were encountered:
tried to fix this, but couldn't find the place where the source line is printed (in lib/hooks.sh?).
If you pointed me to the right source, I'd try again to fix this.
Debugging the snippet yields this (in red color):
But it should have printed the source line unchanged, i.e. as
RED=$'\x1b[31m'
.I tried to fix this, but couldn't find the place where the source line is printed (in
lib/hooks.sh
?).If you pointed me to the right source, I'd try again to fix this.
The text was updated successfully, but these errors were encountered: