Date: Thu, 16 Jun 2022 11:45:53 +0200 From: Stefan Esser <se@FreeBSD.org> To: Michael Butler <imb@protected-networks.net> Cc: freebsd-current@freebsd.org Subject: Re: How to supress prompt on bc 5.3.1,Re: How to supress prompt on bc 5.3.1 Message-ID: <061a512b-d70e-782d-dba0-3860215522fa@FreeBSD.org> In-Reply-To: <f311e279-032b-a035-61ec-049d7f2068b0@protected-networks.net> References: <20220614.100141.1363594437311677262.ish@amail.plala.or.jp> <87k09j82zb.wl-herbert@gojira.at> <222ac8d4-3c57-745e-939d-bc0c325ede4f@FreeBSD.org> <20220616.074713.228633784522673985.ish@amail.plala.or.jp> <f311e279-032b-a035-61ec-049d7f2068b0@protected-networks.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------KjDVSWkgs7W4QQLtgugBhl0e Content-Type: multipart/mixed; boundary="------------Mj7QZX6AHcZ0Kp9Gc1CcY3SV"; protected-headers="v1" From: Stefan Esser <se@FreeBSD.org> To: Michael Butler <imb@protected-networks.net> Cc: freebsd-current@freebsd.org Message-ID: <061a512b-d70e-782d-dba0-3860215522fa@FreeBSD.org> Subject: Re: How to supress prompt on bc 5.3.1,Re: How to supress prompt on bc 5.3.1 References: <20220614.100141.1363594437311677262.ish@amail.plala.or.jp> <87k09j82zb.wl-herbert@gojira.at> <222ac8d4-3c57-745e-939d-bc0c325ede4f@FreeBSD.org> <20220616.074713.228633784522673985.ish@amail.plala.or.jp> <f311e279-032b-a035-61ec-049d7f2068b0@protected-networks.net> In-Reply-To: <f311e279-032b-a035-61ec-049d7f2068b0@protected-networks.net> --------------Mj7QZX6AHcZ0Kp9Gc1CcY3SV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 16.06.22 um 03:22 schrieb Michael Butler: > On 6/15/22 18:47, Masachika ISHIZUKA wrote: >>>>> =C2=A0=C2=A0 I updated to master-n256084-5dd1f6f1441 (1400061) and = this >>>>> leads to bc to 5.3.1. >>>>> =C2=A0=C2=A0 Previosly, 'BC-ENV-APRG=3D-P' or 'bc -P' were working = but it >>>>> doesn't work on 5.3.1.=C2=A0 Is there any way to supress prompt ? >>>> >>>> This is fixed in 5.3.2: >>> >>> This version is already available as a port, but it cannot be >>> built in the base system at the default WARNS level. >>> >>> I had suggested a different patch that was tested in base and >>> have re-submitted that patch after noticing the issue with the >>> current code. >> >> =C2=A0=C2=A0 Thank you for commit. >> >> =C2=A0=C2=A0 'bc' 5.3.3 works fine on master-n256152-ce00b11940a. >=20 > There's still some remaining buildworld left-overs in /tmp from this se= ries of > updates .. >=20 > imb@toshi:/home/imb> ll /tmp/*tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 6768 Jun 15 12:18 /tmp/bc_hel= p.txt.XBwzl9An2r.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 6768 Jun 15 11:26 /tmp/bc_hel= p.txt.zLR884lFpG.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 5797 Jun 15 12:18 /tmp/dc_hel= p.txt.RGfFwWi2Yh.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 5797 Jun 15 11:26 /tmp/dc_hel= p.txt.oltK8Dc7mR.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 3416 Jun 15 12:18 /tmp/lib.bc= =2ENuspIZHi5s.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 3416 Jun 15 11:26 /tmp/lib.bc= =2EwwZJr98NlN.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 9069 Jun 15 11:26 /tmp/lib2.b= c.5ywBAhZgwg.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 9069 Jun 15 12:18 /tmp/lib2.b= c.D4PYZlxfWk.tmp These left over files appear to be due to a commented-out "rm" at the end of scripts/functions.sh, probably due to debugging of recent changes in gen/genstr.sh: # Remove multiple blank lines. uniq "$_filter_text_temp" "$_filter_text_out" # Remove the temp file. #rm -rf "$_filter_text_temp" <---- # Reset IFS. IFS=3D"$_filter_text_ifs" } You can fix it locally by removing the "#" in front of that rm command. I'll contact the author of this software to get this fixed in his reposit= ory and will then import that change. (The author wants downstream versions t= o not diverge from his repository and I respect this wish.) Thank you for reporting this issue! Best regards, STefan --------------Mj7QZX6AHcZ0Kp9Gc1CcY3SV-- --------------KjDVSWkgs7W4QQLtgugBhl0e Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmKq+9EFAwAAAAAACgkQR+u171r99USu LAf9Gx6ZxvQ8qs48+pbsKKS8j0ASMbse9N7fvLS+uJPTGzrGQs9qsAcHh21LRkPA3d/MxhjGeUyH 9G2TH5lVj6vYHbFiIT9tH7KY8RgYhBk1rHWC0kVVkoO3ZbaoDkcKTs5DHg+GQ+ETAwDm5SRfeaN9 lEDBY3A+3G7KdvWKqtYs/nUtNrOah43WGpg+awtOXEW6AdSUszhmNIMKTHiIIJvOlIro+IK+BCwz yuxes/ip8a0CsgwQSZD56yAhvibXP2b0O6mDiusSTMmB+hj3WokFemeVHo/aT6CCqzvTkpF75u7w SXKDnyJe83ge3uBSu6Mz/gta8quYgPJ36WTOISQm8Q== =Pa5i -----END PGP SIGNATURE----- --------------KjDVSWkgs7W4QQLtgugBhl0e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?061a512b-d70e-782d-dba0-3860215522fa>