On 6/21/06, Paul G. Allen <[EMAIL PROTECTED]> wrote:
Thought this was interesting. It seems a change to tail in FC5 has broken the
toolchain
used to build uClinux.
I wonder why tail would be changed such that a command line option would be
changed to
break scripts/applications that use it?
PGA
-------- Original Message --------
Subject: Re: [uClinux-dev] Fedora5
Date: Wed, 21 Jun 2006 12:17:02 +0200
From: Sagaert Johan <[EMAIL PROTECTED]>
Reply-To: uClinux development list <[EMAIL PROTECTED]>
To: uClinux development list <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
gunzip fails becorse tail fails ( tail seems to cut the wrong bytes from the
.sh file )
I replaced the tail program on the fedora 5 with a version from fedora 4
I did'nt look any further to find out what is wrong with the tail from
fedora 5.
Johan
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 21, 2006 11:04 AM
Subject: Re: [uClinux-dev] Fedora5
> 'tail' lies in coreutils, you mean i should install an older version?
> and how about the "gunzip" error?
>
> the error info is
> tail: cannot open '+43' for reading:no such file or directory
> gunzip :stdin:not in gzip format
>
With respect to asking smart questions, the missing information has
got to be the command line to "tail". One might deduce that some
versions of "tail" take a command-line argument "+n".
The GNU man page for both FC5 and FC3 says "
-- If the first character of N (the number of bytes or lines) is a +
print beginning with the Nth item from the start of each file,"
Experimentation shows that a command such as
tail +43 file # produces error as above in FC5,
works in FC3
tail --lines=+43 file # works as one might expect
So someone has managed to remove the "+" option from the short form
commands to "tail".
The script probably should have been written using "sed" to select a
range of lines, rather than "tail". Grr.
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list