gedit does not consider $# specially and treats everything after the hash as a commentary.
For instance, when editing the following code as a .sh script:
#!/bin/bash echo $# arguments
On the second line, everything after the "$" is colored as a commentary, when in fact $# is a special variable.
gedit does not consider $# specially and treats everything after the hash as a commentary.
For instance, when editing the following code as a .sh script:
#!/bin/bash
echo $# arguments
On the second line, everything after the "$" is colored as a commentary, when in fact $# is a special variable.