Fedora EPEL 5 Update: mksh-46-1.el5

updates at fedoraproject.org updates at fedoraproject.org
Sat Aug 3 19:11:57 UTC 2013


--------------------------------------------------------------------------------
Fedora EPEL Update Notification
FEDORA-EPEL-2013-5647
2013-05-02 19:05:19
--------------------------------------------------------------------------------

Name        : mksh
Product     : Fedora EPEL 5
Version     : 46
Release     : 1.el5
URL         : https://www.mirbsd.de/mksh.htm
Summary     : MirBSD enhanced version of the Korn Shell
Description :
mksh is the MirBSD enhanced version of the Public Domain Korn shell (pdksh),
a bourne-compatible shell which is largely similar to the original AT&T Korn
shell. It includes bug fixes and feature improvements in order to produce a
modern, robust shell good for interactive and especially script use, being a
bourne shell replacement, pdksh successor and an alternative to the C shell.

--------------------------------------------------------------------------------
Update Information:

R46 delivers these changes:

  * [tg] dot.mkshrc: prevent lksh from running it
  * [tg] Add the lksh manual page to the mksh distribution
  * [tg] Make both lksh and mksh interpret numbers with a leading digit zero (‘0’) as octal precisely iff “set -o posix” is active
  * [tg] Point out the octal digit and the integer arithmetic differences from POSuX verbosely in the manual pages (point people who need octals to “set -o posix” and who need longs to lksh) and elaborate on the horrors of ISO C Undefined Behaviour which is allowed to delete all your data
  * [tg] Unbreak “set -o” (list flags) in lksh on LP64 machines
  * [tg] Implement Emacs mode PgUp as Vi insert mode Cur↑ for Yofuh
  * [tg] Allow setting both “set -o sh” and “set -o posix”, if done in the same command; shuffle around compatibility levels (mksh/lksh, with -o sh, with -o posix) again; permit a /bin/sh to set either or both
  * [tg] Sync lksh manual page with the exact code ifdefs
  * [tg] Change more use of signed integer to use unsigned instead
  * [tg] Implement “set -o pipefail” like AT&T ksh93 and GNU bash do
  * [tg] dot.mkshrc: provide hd(1) in Pure mksh™ for fallback
  * [tg] Implement VALSUBs (value substitutions): ${|REPLY=foo;}


R45 comes with this bag of changes:

  * [tg] Make “set -x” print the commands run in escaped form
  * [tg] PS4 in dot.mkshrc is now timestamped
  * [tg] The &> GNU bash I/O redir is no longer parsed in -o posix, -o sh modes, lksh (breaks valid scripts)
  * [tg] Implement ${ …;} more efficiently (deleted-open files)
  * [tg] For shf, %#s (if you can get it past GCC’s printf format attribute) calls print_value_quoted, ignoring field width and precision
  * [tg] Catch “typeset =” (regression) with better error message
  * [tg, Tonnerre Lombard] add “doch” alias to dot.mkshrc which just repeats the last input line with sudo(8)
  * [tg] Use unsigned integers for all calculations, to avoid ISO C “Undefined Behaviour” (and implementation-defined behaviour) throughout (most of) the code; emulate signed integer arithmetics using unsigned; not-lksh only
  * [tg] Emulate signed modulo naïvely, for correct sign of the result
  * [tg] Add <<< and >>> for ROL and ROR (rotate left and right, respectively) operations, <<<= and >>> assignments; bitwise AND the RHS of a shift/rotate op with 31 (not for lksh)
  * [tg] Remove a warning by working around a workaround found in dietlibc which works around a bug in broken software such as GNU tar (really!)
  * [tg] Correct and simplify list and categorisation of built-in commands as POSIX special and “everything else” plus a flag to keep assignments
  * [tg] Handle ((foo)) as “let]” internally to avoid a conflict with user-defined functions called let (LP#1156707)
  * [tg] Clean up the code
--------------------------------------------------------------------------------

This update can be installed with the "yum" update programs.  Use
su -c 'yum update mksh' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora EPEL GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the epel-package-announce mailing list