Red Hat Bugzilla – Bug 241893
/bin/unicode_stop missing argument for "test -t FD"
Last modified: 2007-11-30 17:12:05 EST
# stop unicode
if test -t ; then
echo -n -e '\033%@'
See /bin/unicode_start for reference; Expression should be "test -t 1" at least,
to test for a terminal on stdout.
thanks for reporting. I wonder if this test is actually needed in both
unicode_start and unicode_stop at all. I'll check it out.
It this fixed?
there's no fix necessary:
test -t fd -- true if fd is an open file descriptor associated with a terminal
(fd is 1 by default)
Closing as NOTABUG.