i have been trying to teach my siblings basic bash for a while and then i decided to make a program in bash on how to do bash. but when it comes to something with variables like a simple while loop like this to echo out to teach them how it looks and such

```
echo "var=1
while [ $var == 1 ]; do
read item
$item
done
t=2"

```

This was a the first teaching on while loops which teaches how while loop goes around and around till broken by a break or isn't following the argument anymore and thus getting t = 2 (to get to the next level). but every time I echo I will get 

```
var=1
while [ 1 == 1]; do
read item

done
t=2

```

So is there a way to echo the dollar sign. Without me having to say in my program that i couldn't echo a dollar sign remember to put dollar sign in front of this. because i already know that will cause problems on where these things go.

Thank you in advanced for all who answer.