-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bhagya on 8/31/2007 2:27 AM: > Hi, > > I have installed the package GNUCoreUtils using coreutils-5.3.0.exe.
Consider upgrading. The latest stable version of coreutils is 6.9, and has bug fixes that may improve your experience. Since you appear to be using a Windows compilation, you may be interested in the cygwin project, which has a more up-to-date pre-compiled version available. > 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 > > The above command gave two files as abccc00.txt and abccc01.txt > abccc00.txt had 4 records and abccc01.txt had 20 records Not a bug - you told csplit to stop at line 5. What you appear to want is a repeat count, as in: csplit -f abccc -b %02d.txt -- abc.txt 5 '{*}' - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG2Aeq84KuGfSFAYARAkLWAKCDqeb+WthLVMW21LDophqnQSggtACePUfm IOkThFbZi7HrsXj820HPC3s= =7cW4 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils