Re: Patch for unicode in varnames...

2017-06-04 Thread L A Walsh
dualbus wrote: I hadn't realized that bash already supports Unicode in function names! FWIW: bash-4.4$ Lēv=? Φ=0.618033988749894848 With this terrible patch: dualbus@debian:~/src/gnu/bash$ PAGER= git diff Clarification, please, but it looks like with your patch below,

Re: RFE: Please allow unicode ID chars in identifiers

2017-06-04 Thread John McKown
On Sat, Jun 3, 2017 at 8:51 PM, L A Walsh wrote: > > > John McKown wrote: > >> On Sat, Jun 3, 2017 at 4:48 PM, L A Walsh b...@tlinx.org>> wrote: >> ​ >> > > ​OK, I did a port of BASH to an IBM "mainframe" system (IBM z) which uses >> EBCDIC as it's character

Very minor fixes thanks to cppcheck

2017-06-04 Thread Nicola Spanti
Hi. I used that: cppcheck --verbose --quiet --enable=all --force --language=c --std=c89 . I fixed some errors that were reported by cppcheck. I published that on GitLab.com. https://gitlab.com/RyDroid/bash The git remote is: https://rydr...@gitlab.com/RyDroid/bash.git The branch is

minor: man-page: history file time comments for following not preceding history line

2017-06-04 Thread Jörn Hees
Hi, in the HISTORY section of the man-page it says: > ... When the history file > is read, lines beginning with the history comment character followed > immediately by a digit are interpreted > as timestamps for the preceding history line. s/preceding/following/ Best, Jörn

Re: RFE: Please allow unicode ID chars in identifiers

2017-06-04 Thread dualbus
On Sun, Jun 04, 2017 at 01:46:23AM +0700, PePa wrote: [...] > But the fact that unicode functions are already supported does seem to > pave the way for allowing variable names in unicode. For consistency, it [...] I know I said I wasn't going to reply, but this changed my mind :-) I hadn't

Re: Builtin read with -n0 or -N0 (nchars == 0) behaves as a read with no -n/-N argument

2017-06-04 Thread Eduardo Bustamante
On Sun, Jun 4, 2017 at 12:16 AM, dualbus wrote: [...] > Although there's a problem with the solution: > > dualbus@debian:~$ for sh in bash ~/src/gnu/bash-build/bash ksh93 mksh; do > $sh -c ': | read -n 0; echo $?'; done > 1 > 0 > 1 > 1 > > Since the read(2) system