[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: panel.sh



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

Attachment: pgpqtw2ZNyPYG.pgp
Description: PGP signature