• Bug#266020: unrtf: Incorrectly removes double backslashes

    From Graham Bleach@1:229/2 to All on Mon Aug 16 13:00:18 2004
    From: [email protected]

    Package: unrtf
    Version: 0.19.3-1
    Severity: normal

    I have been sent an RTF file which contained several regexes with
    double backslashes e.g '\\S'. As you know, backslashes must be escaped
    within RTF, so the source file actually reads '\\\\S' However, it
    appears that unrtf --text converts this string to 'S'.

    Output from unrtf:

    $ unrtf --text GRS_stats_changes.rtf
    This is UnRTF, version 0.19.2
    By Dave Davey and Marcos Serrou do Amaral
    Original Author: Zach T. Smith
    Processing GRS_stats_changes.rtf...
    ### Translation from RTF performed by UnRTF, version 0.19.2
    ### For information about this marvellous program,
    ### please go to http://www.gnu.org/software/unrtf/unrtf.html
    ### document uses Macintosh character set
    ### font table contains 0 fonts total
    ### invalid font number 0


    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.4.24
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

    Versions of packages unrtf depends on:
    ii libc6 2.3.2.ds1-14 GNU C Library: Shared libraries an

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)