2007-07-15 03:51:50 |
Andre M |
description |
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.
I'm using Ubuntu Feisty, gedit 2.18.1. |
|