For an assignment, I'm trying to make a shell script that will print a triangle that looks like the following:
+
| \
| \
| \
| \
+-----
Here is my code in VIM:
echo'+
| \
| \
| \
| \
+----- '
However, instead of getting that as the output when I run the script, it outputs as the following:
Can anybody tell me what I'm doing wrong?