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