bug-coreutils
[Top][All Lists]
Advanced

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

Re: cut (coreutils) 5.2.1


From: Phil Aylesworth
Subject: Re: cut (coreutils) 5.2.1
Date: Mon, 11 Oct 2004 10:43:18 -0400

Bob,

That is interesting. I tried the exact example you gave and got:
$ printf "1\t2\t3\n" > t1
$ printf "4\t5\t6\n" > t2
$ cut -f1 t1 t2
1
 
That last line is a blank. I will try recompiling when I get a chance.
Maybe I should report this bug to fedora.

Phil.


On Fri, 08 Oct 2004 22:33:44 -0400, Bob Proulx <address@hidden> wrote:
> Phil Aylesworth wrote:
> > I am sure this is a bug in cut (coreutils) 5.2.1.
> 
> Thank you for your bug report.
> 
> > When cut is used with the option "-f1" it will not output the results
> > from more than one file given as arguments. Instead it outputs a blank
> > line for each file beyond the first. cut works correctly with "-f" if
> > 1 is not included, "-c", or piping to standard input.
> 
> I cannot recreate this behavior with cut from coreutils-5.2.1.
> 
>   printf "1\t2\t3\n" > t1
>   printf "4\t5\t6\n" > t2
>   cut -f1 t1 t2
>   1
>   4
> 
> > I am running Fedora Core 2 Linux.
> 
> I am running Debian GNU/Linux.  But I also tested the pristine latest
> version and it worked fine as well.
> 
> Perhaps you could compile the latest stable released coreutils from
> source?  I am expecting that it will work fine.
> 
>   ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.gz
> 
> Bob
> 


-- 
Phil Aylesworth




reply via email to

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