xdg-email:awk: line 15: regular expression compile failed (bad class -- [], [^] or [)
Bug #682292 reported by
_erwin_
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Simple Scan |
Expired
|
Low
|
Unassigned |
Bug Description
When using simple scan I get the next error from xdg-email
./xdg-email.org --attach xdg-email
awk: line 15: regular expression compile failed (bad class -- [], [^] or [)
[@a-zA-Z0-9.-\\
awk: line 15: syntax error at or near ]
awk: line 17: syntax error at or near else
awk: line 20: syntax error at or near }
fix for xdg-email is:
- } else if ( c ~ /[@a-zA-Z0-9.-\\/]/ ) {
- e = e c
+ } else if ( c ~ /[@a-zA-Z0-9.\-\/]/ ) {
+ e = e c
} else {
To post a comment you must log in.
See also https:/ /bugs.launchpad .net/ubuntu/ +source/ xdg-utils/ +bug/664531. Works for me.