Re: echo -n

2017-02-05 Thread Peter & Kelly Passchier
Depending on your use case, you could do something like: $ echo $'\u2010'n -n On 06/02/2560 13:37, Clark Wang wrote: > On Mon, Feb 6, 2017 at 12:15 PM, Jyoti B Tenginakai > mailto:jyoti@in.ibm.com>> wrote: > > Thanks you all, > > Again I see that this printf we can use. But there are

Re: echo -n

2017-02-05 Thread Clark Wang
On Mon, Feb 6, 2017 at 12:15 PM, Jyoti B Tenginakai wrote: Thanks you all, > > Again I see that this printf we can use. But there are some scenarios > where the o/p does not exactly match with echo. So still its good to have a > way to pirnt -n /-e/-E with echo. Can this be considered as bug and

Re: echo -n

2017-02-05 Thread Jyoti B Tenginakai
Thanks you all, Again I see that this printf we can use. But there are some scenarios where the o/p does not exactly match with echo. So still its good to have a way to pirnt -n /-e/-E with echo. Can this be considered as bug and can this be fixed? Thanks & Regards --Jyoti

Re: Readline macro definition with multibyte characters

2017-02-05 Thread Chet Ramey
On 2/4/17 9:07 PM, Grisha Levit wrote: > The character-search command accepts multibyte characters just fine, but > when reading input from a macro, multibyte characters are not processed > correctly. For example trying to invoke the macro defined with: > > bind '"\C-f": "\C-]π"' > > will fail to