Project

General

Profile

Bug #11608

test -t without fd

Added by znz (Kazuhiro NISHIYAMA) almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-dev:49311]

Description

r52202 で fd 指定なしの test -t を使っていますが、
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
の RATIONALE で

The -t file_descriptor primary is shown with a mandatory argument because the grammar is ambiguous if it can be omitted. Historical implementations have allowed it to be omitted, providing a default of 1.

と書かれているように省略せずに指定すべきではないでしょうか。

Associated revisions

Revision 2bb1e93d
Added by nobu (Nobuyoshi Nakada) almost 4 years ago

test -t

  • aclocal.m4, tool/ifchange: make the fd explict. [ruby-dev:49311] [Bug #11608]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 52204
Added by nobu (Nobuyoshi Nakada) almost 4 years ago

test -t

  • aclocal.m4, tool/ifchange: make the fd explict. [ruby-dev:49311] [Bug #11608]

Revision 52204
Added by nobu (Nobuyoshi Nakada) almost 4 years ago

test -t

  • aclocal.m4, tool/ifchange: make the fd explict. [ruby-dev:49311] [Bug #11608]

Revision 52204
Added by nobu (Nobuyoshi Nakada) almost 4 years ago

test -t

  • aclocal.m4, tool/ifchange: make the fd explict. [ruby-dev:49311] [Bug #11608]

Revision 52204
Added by nobu (Nobuyoshi Nakada) almost 4 years ago

test -t

  • aclocal.m4, tool/ifchange: make the fd explict. [ruby-dev:49311] [Bug #11608]

Revision 52204
Added by nobu (Nobuyoshi Nakada) almost 4 years ago

test -t

  • aclocal.m4, tool/ifchange: make the fd explict. [ruby-dev:49311] [Bug #11608]

History

Updated by znz (Kazuhiro NISHIYAMA) almost 4 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)
  • ruby -v set to r52202
#2

Updated by nobu (Nobuyoshi Nakada) almost 4 years ago

  • Status changed from Open to Closed

Applied in changeset r52204.


test -t

  • aclocal.m4, tool/ifchange: make the fd explict. [ruby-dev:49311] [Bug #11608]

Also available in: Atom PDF