According to the Single Unix Specification (which is the space the z/OS
UNIX guys play in, since "UNIX" branding is so important to them), the
z/OS return is not "wrong". Support for what GNU implements as GLOB_PERIOD

is not required, but _optional_.

It's "wrong" in the sense that everyone else supports it and z/OS UNIX
doesn't; but this kind of omission is very common.

--Jim--
James S. Tison
Senior Software Engineer
TPF Laboratory / Architecture
IBM Corporation
"If dogs don't go to heaven, then, when I die, I want to go where they
do."
    -- Will Rogers



"Fargusson.Alan" <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
05/06/2004 16:12
Please respond to
Linux on 390 Port


To
[EMAIL PROTECTED]
cc

Subject
Re: What should glob() return for ".*/.."






I think z/OS is wrong.  The only difference in the Linux and AIX case is
the order, which probably depends on the filesystem used.

-----Original Message-----
From: Lucius, Leland [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 10:50 AM
To: [EMAIL PROTECTED]
Subject: What should glob() return for ".*/.."


Given a directory with these contents:

.
..
.testdir
.testfile

What is the "correct" and expected results?

On Linux, I get:

0: '../..'
1: './..'
2: '.testdir/..'

On AIX, I get:

0: './..'
1: '../..'
2: '.testdir/..'

On z/OS USS, I get:

<nothing it returned>

Thanks much,

Leland



CONFIDENTIALITY NOTICE: This e-mail communication and any attachments may
contain proprietary and privileged information for the use of the
designated
recipients named above. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to