shells/bosh: Update to 20200701
Take maintainership. Changelog from AN-2020-07-01: - Bourne Shell: A command like bosh -c 'var=$({ echo value >&3; } 3>&1); echo $var' Did not print "value" as expected, but rather bosh: 3: bad file number This is related to the fact that curly brackets do not have an own binary node type in the parsed output and the recursive parser from the $(cmd) execution needs to reconstruct the text form of a command tree. As a result, the command has been translated into: bosh -c 'var=$( echo value >&3 3>&1); echo $var' and this caused the observed problem. Note that this basic problem may not be finally fixed, so please report in case that other commands with curly brackets together with $(cmd) cause problems. Thanks to Koichi Nakashima for reporting. - Bourne Shell: Added a unit test for the bug above.
This commit is contained in:
parent
bfdfb98f62
commit
d0a8919951
2 changed files with 9 additions and 9 deletions
|
@ -1,12 +1,12 @@
|
|||
# $NetBSD: Makefile,v 1.12 2020/06/05 17:20:52 micha Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2020/07/17 11:25:35 micha Exp $
|
||||
|
||||
DISTNAME= schily-2020-05-25
|
||||
PKGNAME= bosh-20200525
|
||||
DISTNAME= schily-2020-07-01
|
||||
PKGNAME= bosh-20200701
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
MAINTAINER= micha@NetBSD.org
|
||||
HOMEPAGE= https://sourceforge.net/projects/schilytools/
|
||||
COMMENT= The Schily Bourne Shell
|
||||
LICENSE= cddl-1.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.10 2020/06/05 17:20:52 micha Exp $
|
||||
$NetBSD: distinfo,v 1.11 2020/07/17 11:25:35 micha Exp $
|
||||
|
||||
SHA1 (schily-2020-05-25.tar.bz2) = ba4f353ab3c3ecded4c417e8601f6986717508a9
|
||||
RMD160 (schily-2020-05-25.tar.bz2) = 56f9a9812f26ff80699bb1e5ed299e24a724ff18
|
||||
SHA512 (schily-2020-05-25.tar.bz2) = 73079c7c9c724911af10e641dfd82fb900c434c59a1d30fa34ac69f7f3e31dfe050cf718621574ce54cf5eb7189f32a5894fe070115c7eabc13c65e00b010b3b
|
||||
Size (schily-2020-05-25.tar.bz2) = 4794851 bytes
|
||||
SHA1 (schily-2020-07-01.tar.bz2) = 7653c8b99d1aebe85337df681aae8ec1352c1ac1
|
||||
RMD160 (schily-2020-07-01.tar.bz2) = 4c7989eb95cff9a4bdd5f521b95135902912ab8d
|
||||
SHA512 (schily-2020-07-01.tar.bz2) = 512f0c3488bde5812d2011b2c1b1f308b9c139331a16c40fc0b61983fd8ff26d60845ddc8adc4d5bf651405cde786e63de61a473a1c658d08e5a8fdf949312d6
|
||||
Size (schily-2020-07-01.tar.bz2) = 4828878 bytes
|
||||
|
|
Loading…
Reference in a new issue