Jan,

Using PsPad 4.6.1 (2730), I found that in a unix shell script, any text
following a # will be highlighted as a comment.  But for # in the middle of a
line, this should only be true if the # is preceeded by whitespace.

For example, the following shell script shows two comments in the PsPad
highlighter:

#!/bin/bash
touch test1.txt
touch test#2.txt
touch test3.txt
ls test1.txt test#2.txt test3.txt


But there are no comments in the above script, which will execute as expected.

The need for whitespace before a # comment that is in the middle of the line is
documented at the following link:

http://tldp.org/LDP/abs/html/special-chars.html

Thanks,
- Michael

-- 
<http://forum.pspad.com/read.php?2,67503,67503>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem