Geoff Nixon
60808a4820
Enhance/fix isatty
using command test
.
...
Presently, `isatty` only works on a handful of keywords. Here it
is rewritten to be able to take any path, device or fd number as
an argument, and eliminates errors printed to stdout.
Per discussion in #1228 , using `builtin test -c` within a pipe to
test special file descriptors is not viable, so this implementation
specifcially uses `command test`. Additionally, a note has been
added to the documentation of `test` regarding this potential
aberration from the expected output of the test utility under the
'Standards' section.
2014-01-28 11:14:54 -08:00
..
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-09-13 13:43:36 +08:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-10-06 14:17:33 +02:00
2013-05-13 01:48:20 -07:00
2014-01-17 12:53:01 -08:00
2013-10-05 00:37:44 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-10-05 00:37:44 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-12-10 19:09:32 +01:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-10-05 00:37:44 -07:00
2013-05-13 01:48:20 -07:00
2013-09-28 17:22:46 +05:30
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-04-14 12:19:56 +05:30
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-07-29 16:07:00 +08:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-11-09 20:12:53 +08:00
2014-01-28 11:14:54 -08:00
2013-05-13 01:48:20 -07:00
2013-12-13 21:51:52 +01:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-10-05 12:13:16 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-10-05 12:13:16 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-10-28 23:33:24 +08:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2014-01-28 11:14:54 -08:00
2013-05-13 01:48:20 -07:00
2014-01-08 20:09:32 +03:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00
2013-05-13 01:48:20 -07:00