How to print indent text in Bash

1 Answer

0 votes
printf '%7s%s\n%7s%s\n' '-' 'Bash' '-' 'Shell'
 
 
# run:
#
#      -Bash
#      -Shell
#

 



answered Aug 9, 2024 by avibootz

Related questions

1 answer 350 views
1 answer 309 views
1 answer 336 views
2 answers 354 views
1 answer 246 views
1 answer 244 views
2 answers 308 views
308 views asked Jan 13, 2024 by avibootz
...