"Print Supremacy"
submitted by Dry_Extension7993
https://reddit.com/r/ProgrammerHumor/comments/ujp6i2/print_supremacy/
@IcyShark @DeveloperMemes yes. 😂
@IcyShark echo in bash?
No needo bother echoing everything, then removing all the unnecessary echos, when you can just use set -x in your scripts and remove or comment it when your done.
@devnull
That seem to approach debugger territory, no?
@IcyShark I guess it depends where you draw the line for the debugger territory. But it's basically just a bash option that only makes the shell traces/output whatever basic instructions are being executed by bash code between set -x and set +x (or the end of script/subshell exit).
Things
- Vars assignation and comparisons
- Commands with their parameters before they are executed, but after variable's expansion so you see the actual values (including in-place modifs)
@DeveloperMemes debuggers have pretty serious issues with multithreaded programs.
@DeveloperMemes does echo count 😼