[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in csplit
From: |
Bhagya |
Subject: |
Re: Bug in csplit |
Date: |
Fri, 31 Aug 2007 18:57:17 +0530 |
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 <address@hidden> 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
>