I need to add / print a specific number of characters after and before a sentence with a line ..
Example:
I am having below:
SCRIPT OUTPUT
I need to display it as:
#############
SCRIPT OUTPUT
#############
And if it was:
SCRIPT OUTPUT FROM INPUTS
I would need this as:
#########################
SCRIPT OUTPUT FROM INPUTS
#########################
So, it depends on the length of the sentence. For sure, a one line command would be better.