1

drawing a shape with shell script

view story
linux-howto

http://ubuntuforums.org – I'm trying to draw a tree in the following form Code:     *      ***   *****  ******* ********* as you can see I need both spaces, and "*" stars in every line, but I can't get it quite the way I want Code: #!/bin/bash display_tree() {         local rows=$1         local columns=$2         for ((i=0; i<$rows; i++))         do                 #spaces loop             &n (Hardware)