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 <[EMAIL PROTECTED]> 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
>
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to