Reputation
5,586
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
7 46 84
Impact
~435k people reached

20h
awarded  Notable Question
2d
comment How to use printf and %s when there are color codes?
This is the only that has worked for me so far.
2d
accepted How to use printf and %s when there are color codes?
2d
comment How to use printf and %s when there are color codes?
This didn't work for me. Maybe becuase I am using an include file for the color codes. However PM 2Ring's answer did work for me.
2d
comment How to use printf and %s when there are color codes?
Sure. Added more on how the color variables are set
2d
revised How to use printf and %s when there are color codes?
added 133 characters in body
2d
comment How to use printf and %s when there are color codes?
I tried adding one, e.g. changing fail_color="\033[31;1m" to fail_color="\\033[31;1m" but I got the same error.
2d
comment How to use printf and %s when there are color codes?
They work the other way and without them I get $ ./17_number_letter_counts.sh 033[31;1m, Error - Function: words,, Line: 94 ,do_test: Third parameter missing - expected result
2d
revised How to use printf and %s when there are color codes?
added 81 characters in body
2d
asked How to use printf and %s when there are color codes?
May
24
comment Cursor position, dragging and resizing windows… with multiple monitors
I'd just go to three screens with a big one for the middle one. We know that is generally well handled.
May
20
awarded  Popular Question
May
19
awarded  Announcer
May
17
awarded  Famous Question
May
7
awarded  Popular Question
May
6
awarded  Nice Question
May
3
comment Why is my Bash script returning a syntax error?
I suspect you also want cd $HOME/Downloads
May
2
awarded  Popular Question
Apr
29
comment Why does Vim indent pasted code incorrectly?
I added set paste to my .vimrc so it is always on which has seemed to work for some time now. Why would I ever need to turn it off / toggle it ?
Apr
28
awarded  Notable Question