Get the latest tech news
Techniques I use to create a great user experience for shell scripts
6 Techniques I Use to Create a Great User Experience for Shell Scripts
To make the script's output more readable and user-friendly, I used ANSI color codes to highlight important information, warnings, and errors. This matches the output format of Bash's builtin set -x tracing, but gives the script author more granular control of what is printed. By implementing these techniques, I aimed to create a user-friendly, informative, and robust shell script that provides a great experience for users running and analyzing benchmarks.
Or read this on Hacker News