[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    Re: Bug in csplit
From:       Bhagya <bhagya.hc () gmail ! com>
Date:       2007-08-31 13:39:17
Message-ID: 3fa771e60708310627m43b133bcu7cea0562dbb1c5fe () mail ! gmail ! com
[Download RAW message or body]

Hi Andreas,

I am sorry for reporting it as a bug
I was supposed to use the command as csplit -k abc.txt 5 {*}  -f abccc -b
%02d.txt

Thanks,
Bhagya

On 8/31/07, Bhagya <bhagya.hc@gmail.com> wrote:
>
> Hi,
>
> I have installed the package GNUCoreUtils using coreutils-5.3.0.exe.
> When I was checking with the csplit command with the below example, i
> found a bug
>
> csplit abc.txt 5 -f abccc -b %02d.txt
>
> File abc.txt is an ascii file with 24 records as below
> aaaaaaaaa,ddddddddddddd,ggggggggg,hhhhhhhhh
> aaaaaaaaa,ddddddddddddd,ggggggggg,hhhhhhhhh
> aaaaaaaaa,ddddddddddddd,ggggggggg,hhhhhhhhh
> aaaaaaaaa,ddddddddddddd,ggggggggg,hhhhhhhhh
>
> The above command gave two files as abccc00.txt and abccc01.txt
> abccc00.txt had 4 records and abccc01.txt had 20 records
>
>
> I was expecting to get 6 split files.
>
> If it is not a bug please guide me to use this command in a right way
>
> Thanks,
> Bhagya
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic