MirBSD Korn Shell for Jehanne
Go to file
tg e27ae086d2 set the "C" locale during runs… otherwise, some OSes’ tr(1) or so might
act strange… 10x Adam “replaced” Hoka for helping to find this
00:51⎜<replaced_> it needs -A
00:52⎜<mirabilos> heh. locale?
00:52⎜<replaced_>            -A             Translates on a byte-by-byte basis. When this flag
00:52⎜<replaced_>                           is specified tr does not support extended
00:52⎜<replaced_>                           characters.
00:52⎜<replaced_> LC_CTYPE=en_US.utf8
00:52⎜<mirabilos> hmmm
00:52⎜<mirabilos> but that is weird too
00:52⎜<mirabilos> I don't see why it shouldn't work
00:52⎜<replaced_> yeah, it should act the same
00:53⎜<mirabilos> try this please:
00:53⎜<mirabilos> without -A
00:53⎜<mirabilos> echo sys/param.h | env LC_ALL=C /bin/tr -c
     ⎜    qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM0123456789
     ⎜    ______________________________________________________________
00:53⎜<replaced_> this works of course
2008-05-04 00:55:18 +00:00
Build.sh set the "C" locale during runs… otherwise, some OSes’ tr(1) or so might 2008-05-04 00:55:18 +00:00
Makefile clean up unused defines 2008-04-20 02:15:12 +00:00
alloc.c quieten gcc __CRAZY (-m32) on sparc64 2007-06-05 18:59:54 +00:00
check.pl … and $__perlname (for perl5 ipv perl, etc.) 2008-04-01 16:26:42 +00:00
check.t thinko: multibyte characters are not always 1 column wide 2008-05-02 18:55:37 +00:00
copyright remove advertising clause from mksh distribution: while I’d still prefer 2008-04-22 11:47:57 +00:00
dot.mkshrc • be friendlier to AT&T ksh: use only signed (standard) integers 2008-04-22 13:48:15 +00:00
edit.c thinko: multibyte characters are not always 1 column wide 2008-05-02 18:55:37 +00:00
eval.c a better way to check for empty patterns 2008-03-01 22:49:37 +00:00
exec.c • more unsigned → unsigned int 2008-04-19 22:15:06 +00:00
expr.c mostly revert 100480A853206FB56FA and parse utf-8 lead bytes ourselves 2008-04-20 00:24:26 +00:00
funcs.c take most of the goodies of the recent c_ulimit() changes, but retain the 2008-04-22 18:58:20 +00:00
histrap.c • new ksh_mbswidth 2008-04-19 17:21:55 +00:00
jobs.c more 2008-04-01 21:50:58 +00:00
lex.c • more unsigned → unsigned int 2008-04-19 22:15:06 +00:00
main.c • unify ksh_dup2() usage, use bool where appropriate 2008-04-01 20:40:22 +00:00
misc.c remove the now-unused addition to the ksh_getopt() code 2008-04-22 19:00:01 +00:00
mksh.1 • revert the oksh code to be able to set multiple ulimits in one 2008-04-20 21:30:29 +00:00
setmode.c • more unsigned → unsigned int 2008-04-19 22:15:06 +00:00
sh.h thinko: multibyte characters are not always 1 column wide 2008-05-02 18:55:37 +00:00
shf.c thinko: multibyte characters are not always 1 column wide 2008-05-02 18:55:37 +00:00
strlcpy.c • strlcpy.c: remove superfluous rcs ids in comments 2007-04-23 11:33:26 +00:00
syn.c some more code “folding” 2008-04-01 22:20:20 +00:00
tree.c • more unsigned → unsigned int 2008-04-19 22:15:06 +00:00
var.c thinko: multibyte characters are not always 1 column wide 2008-05-02 18:55:37 +00:00