Project

General

Profile

Actions

Bug #11608

closed

test -t without fd

Bug #11608: test -t without fd

Added by znz (Kazuhiro NISHIYAMA) about 10 years ago. Updated about 10 years ago.

Status:
Closed
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.

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

Updated by znz (Kazuhiro NISHIYAMA) about 10 years ago Actions #1 [ruby-dev:49310]

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

Updated by nobu (Nobuyoshi Nakada) about 10 years ago Actions #2

  • Status changed from Open to Closed

Applied in changeset r52204.


test -t

Actions

Also available in: PDF Atom