Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo " \c" # \c prevents echo taking a new line at the end of a line
- for i in {A..J}; # loop through letters A to J, assign to var i
- do
- echo "$i \c" # echo i then space
- done
- echo # echo a blank line
- echo " \c"
- for i in {1..10} # I cudv done A..J
- do
- echo "_ \c" # top of the grid
- done
- echo
- for i in {0..1}{0..9} # joined curly bracket expansion is the equivalent of 00-19
- do
- echo "$i |\c" # first pipe character
- for i in {A..J}
- do
- echo '_|\c' # the rest of the boxes
- done
- echo
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement