echo
hi guys
I'm writing a shell script and I wanted to include some ASCII art I've created, but when using the echo command to display it, it seems to cut out multiple spaces which kinda screws up the picture :( I did read somewhere that if you place " around the line it stops it removing them, but it just dosnt seem to work , heres the code, thanks in advance ! Code:
LOGO="+==============================================================+\n |
If you use the <tab> key when making these ascii images it can screw it up sometimes. I ran into this myself once. Are you using the <tab> key while creating this?
|
hi, thx for replying, no I didnt use the tab key once when creating it, I thought that might be what it was so I purposly didnt use tabs, only spaces, heres what I get on my sceen when running the script ...
Code:
+==============================================================+ |
Gidday!
Try Code:
echo "$LOGO" Cheers, Tink |
All times are GMT -5. The time now is 04:38 PM. |