In perl you can simply write print “-” x 20 and you get a line with dashes…but i need the same thing in bash/commandline on linux without perl/(g)awk etc. any ideas? The intention is to use it in the -exec of the find command and i want to prevent using simple echo “———” …
Share
you can create you own function
or
or