perl -v gives different answer, what gives
Jim Budler
jim at eda.com
Tue Nov 14 18:37:09 AEST 1989
gnb at bby.oz (Gregory N. Bond) writes:
[stuff about a particular bug]
} leo% ./perl -v
} $Header: perly.c,v 3.0.1.1 89/11/11 04:50:04 lwall Locked $
} Patch level: 4
} Copyright (c) 1989, Larry Wall
} Perl may be copied only under the terms of the GNU General Public License,
} a copy of which can be found with the Perl 3.0 distribution kit.
[more stuff about the bug]
} --
} Gregory Bond, Burdett Buckeridge & Young Ltd, Melbourne, Australia
I read this and decided to perl -v just to check and was surprised to get a
different output. At first glance I thought the end was truncated somehow.
Then I notices a line (Patch level:) was missing out of the middle!
So I started this note in emacs, and did M-! perl -v to capture the
output for my post, and it was the same as above! So I experimented
a little and here's a script using perl -v and perl -v | cat
to illustrate what I found. I know the problem itself is trivial, but
it must demonstrate some sort of IO problem.
Perhaps with:
Sun386i SunOS4.0.1
Script started on Mon Nov 13 23:20:42 1989
{/files/home/staff/jim at eda:51} perl -v
$Header: perly.c,v 3.0.1.1 89/11/11 04:50:04 lwall Locked $
Copyright (c) 1989, Larry Wall
Perl may be copied only under the terms of the GNU General Public License,
{/files/home/staff/jim at eda:52} perl -v | cat
$Header: perly.c,v 3.0.1.1 89/11/11 04:50:04 lwall Locked $
Patch level: 4
Copyright (c) 1989, Larry Wall
Perl may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the Perl 3.0 distribution kit.
{/files/home/staff/jim at eda:53} ^D
script done on Mon Nov 13 23:21:09 1989
--
Jim Budler jim at eda.com ...!{decwrl,uunet}!eda!jim
compuserve: 72415,1200 applelink: D4619
voice: +1 408 986-9585 fax: +1 408 748-1032
More information about the Comp.sources.bugs
mailing list