panel.sh

Thorsten Wißmann edu at thorsten-wissmann.de
Mon Jun 23 19:24:53 CEST 2014


Hi Никита,

On Mon, Jun 23, 2014 at 06:27:49PM +0300, Никита wrote:
> Hello! Line 121 in file panel.sh:
> right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g')
> sed regex are drop line with cyrillic symbols. Unfortunately I don't know
> sed regex syntax. please help me if you can

Can you give me an example text where the cyrillic symbols are dropped?
I tried the following but no symbols where lost:

$ right='Никита'
$ right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g')
$ echo $right_text_only 
Никита

Cheers,
Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20140623/bf2783c9/attachment.sig>


More information about the hlwm mailing list