Package: joe
Version: 3.7-2.3
Severity: minor

When writing a script I found that use of << causes problems with bash's
( ) notation.  Ex:

Run joe similar to this:
$ joe test.sh

Type in these 3 lines:
#!/bin/bash
(x = 1 << 2)
if [

The 3rd line is incomplete, however, the "if [" is not colored correctly.
By adding a space between the <<, the coloring becomes correct.

Joe 3.3 did not have this problem.  Have not tested on any versions between
3.3 and 3.7

I have joe 3.5-1, 3.5-1.1 and 3.5-2 incase I need to test with those versions.

I modified my sh.jsf on line 42 from
        *       inc             buffer noeat
to
        *       idle

Which fixes the problem for me.  I know this is not the proper solution but
I unfortunately don't understand the highlighting syntax.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.5.0 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages joe depends on:
ii  libc6                         2.13-37    Embedded GNU C Library: Shared lib
ii  libncurses5                   5.9-10     shared libraries for terminal hand
ii  libtinfo5                     5.9-10     shared low-level terminfo library 

joe recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to