[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed error message reports byte position instead of char position whe
From: |
Eli Zaretskii |
Subject: |
Re: sed error message reports byte position instead of char position when program contains UTF-8 |
Date: |
Tue, 14 May 2013 23:23:04 +0300 |
> Date: Tue, 14 May 2013 15:22:48 +0100 (BST)
> From: Camion SPAM <address@hidden>
>
> In case of error in a sed program, sed error message reports byte position
> instead of char position when program contains UTF-8.
>
> $ sed 's/qwerty///'
> sed: -e expression #1, char 11: unknown option to `s'
> $ sed 's/qwérty///'
> sed: -e expression #1, char 12: unknown option to `s'
Options to the 's' command are all pure-ASCII single-byte characters,
so Sed is correct in this case, I think.
- sed error message reports byte position instead of char position when program contains UTF-8, Camion SPAM, 2013/05/14
- Re: sed error message reports byte position instead of char position when program contains UTF-8,
Eli Zaretskii <=
- Re: sed error message reports byte position instead of char position when program contains UTF-8, Paul Jarc, 2013/05/15
- Re: sed error message reports byte position instead of char position when program contains UTF-8, Eli Zaretskii, 2013/05/15
- Re: sed error message reports byte position instead of char position when program contains UTF-8, Camion SPAM, 2013/05/16
- Re: sed error message reports byte position instead of char position when program contains UTF-8, Jose E. Marchesi, 2013/05/16
- Re: sed error message reports byte position instead of char position when program contains UTF-8, Eli Zaretskii, 2013/05/16
- Re: sed error message reports byte position instead of char position when program contains UTF-8, John Cowan, 2013/05/16
- Re: sed error message reports byte position instead of char position when program contains UTF-8, Eli Zaretskii, 2013/05/16
- Re: sed error message reports byte position instead of char position when program contains UTF-8, John Cowan, 2013/05/16
- Re: sed error message reports byte position instead of char position when program contains UTF-8, Eli Zaretskii, 2013/05/16
- Re: sed error message reports byte position instead of char position when program contains UTF-8, John Cowan, 2013/05/16