Is it possible to only reset the background color or text color back to default (not both!)
Example:
echo -e "\033[32;41mFoo bar\033[30m baz" # Doesn't reset background color
echo -e "\033[32;41mFoo bar\033[0m baz" # Resets the background color and text color
Is there anyway to do this?
I know I can assign the background color in the second statement, but the color will be unknown. (echo -e "\033[32;41mFoo bar\033[0m baz")