Skip to content

warning: regexp escape sequence `\"' is not a known regexp operator #285

@lacygoill

Description

@lacygoill
  • $ gawk -V:

     GNU Awk 4.2.62, API: 2.0 (GNU MPFR 3.1.4, GNU MP 6.1.0)
    
  • $ trans -V:

     gawk: /dev/fd/63:176: warning: regexp escape sequence `\"' is not a known regexp operator
     Translate Shell       0.9.6.4-git:84eaf66
    
     platform              Linux
     gawk (GNU Awk)        4.2.62
     fribidi (GNU FriBidi) [NOT INSTALLED]
     audio player          mpv
     terminal pager        less
     terminal type         tmux-256color
     user locale           en_US (English)
     home language         en
     source language       auto
     target language       en
     translation engine    google
     proxy                 [NONE]
     user-agent            Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1 Epiphany/3.18.2
     theme                 default
     init file             [NONE]
    
     Report bugs to:       https://github.com/soimort/translate-shell/issues
    

When I run any $ trans command, such as:

$ trans -V

Or:

$ trans 'Saluton, Mondo!'

The output begins with the following warning from gawk:

gawk: /dev/fd/63:176: warning: regexp escape sequence `\"' is not a known regexp operator

It seems to be due to this commit in the gawk codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions