Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Identifying the NetBSD shell
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 21.03.2016 15:56, Robert Elz wrote:
> $ echo $KSH_VERSION @(#)MIRBSD KSH R50 2014/10/07
>
> and not MKSH_VERSION
My bad, MKSH_VERSION is only in the source-code.
> if a script wants to know if it can safely redirect file
> descriptors >= 10 (answer for NetBSD right now is definitely no)
> that is a little difficult to embed in the script.
Redirecting fd >= 10 is rather a specialized use-case. Is it possible
to detect it dynamically?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJW8Lc+AAoJEEuzCOmwLnZsm2AP/A8mAJbhH0D416j8eSrpiyuW
exzZVz8NDgE5njBeiN4zK/lE3ZTRNWEy8amN/Ji7gdISix2tpmtvq8iVAecxiHQF
VQGRD90brRAz4gW2AWpRToVHKqW+xhL2WtDLfCoQ2hfScBfEb3S0ZcUpwweb4AK7
Gfbe68Cidv7Wh99f66AmTKbvyvUHnE3oGTMYsYpFpeDYGlU78sD5QDA0xGk2H5wg
f8484BWcBM5DE7o2Ji+KSr/Sh2IzqgeyCDgwQtXRSdo6bzW+JlvQjjaPpO8Gahlz
7s9KuCBL/84BRISv4AJ6zxX2coHU99GvR7tA0Hrz4Nvw8MUjdX97KGxs2/5JIU+3
X2B9HQsbJiA2Z4CKdQuGBZtcFT0SnIVhE1kFWmsjEcDqiM3tu6LvXqveXv5Xcy1a
Z19EXOYn4XKc54ycFuIkTYFR9R9q6TN8o65I8dohonc8ianhfTEEpV9OmizY94ej
h2/9jZJO37G7ia2pEZjWfZqB8Dx8pZZB007NgstrxedJ3V2ptD6/vqSOB9VMmcgP
I6KU2OnG5ZedVkafPA/UVbPR+r7/JLpZz5GPLhxUSc9ZfEn4Gejd7thvNkNwjXT1
l0+K2qjDFJFhcqydYVa0FbLOWILVi0DqGkuX3RsNe/0BeqBBoBcNGA5SzlqOMAH+
RT1VZ9EbmVSw+wc9bCL+
=SsUG
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index