[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inaccuracy in bash.1 (test builtin)

From: Rochus Wessels
Subject: Inaccuracy in bash.1 (test builtin)
Date: Mon, 12 Nov 2001 17:57:45 +0100
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-DE; rv:0.9.2) Gecko/20010726 Netscape6/6.1

The manual contains an inaccuracy regarding the bash-builtin "test":
  file1 -ef file2
    True  if  file1  and file2 have the same device and inode numbers.
should be changed to
"True if file1 and file2 REFER TO the same device and inode numbers"
The exact behaviour is:
If a symbolic link can be followed to real file, the device and inode
number of that file will be used for comparison, otherwise the device
and inode number of the symbolic link itself.

$ bash --version
GNU bash, version 2.05.0(1)-release (i386-suse-linux)
Copyright 2000 Free Software Foundation, Inc.


  Rochus Wessels

reply via email to

[Prev in Thread] Current Thread [Next in Thread]