hr(){ printf '%0*d' $(tput cols) | tr 0 ${1:-_}; } # Define a function called hr that creates a horizontal line the width of your terminal when it's run. If you call it with an argument, the first letter of that argument will be used as the line draw character.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!