2

I want to document bash scripts with perl pod comments, as explained here.

cat<<=cut
perlpod
=cut

Unfortunately, notepad++ does not consider the = character as being part of the here delim, resulting in unusable syntax highlighting.

How can I change the definition of the here delim?

I looked at UDL but I'd rather change the existing bash definition than redefine it from scratch. If changing UDL is the way, then where can I find the default bash UDL?

1
  • The most common delimiter for heredoc is EOF. =cut is pretty insane.
    – 4ae1e1
    Nov 14, 2015 at 3:24

1 Answer 1

0

I think if you import the default bash in the "Language > Define Your Language..." and change the HERE DELIM default keywords you will be able to add the "=" sign there.

I have not tried this myself to be honest but that is a possible way of doing it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .