Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
ppurka
· 12y ago · 0 comments
Indeed, printf is shorter. I use it in a similar fashion in my own script [1], which can be made to behave like hr() (haven't tried shells other than bash):
centered_output '=' ''
[1]
https://github.com/ppurka/sh_functions/blob/master/my_bash_f...
Comments
No comments yet.
Better HN