Hi Anthony, Thanks for the report, but you sent it to an obsolete address. Luckily, an admin was kind enough to forward it to me. (thanks, Karl!) Please use bug-coreutils@gnu.org in the future.
> From: Anthony Stone <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [bug-obsolete-packages] Bug in csplit? > > There appears to be a bug in csplit (Suse 10.2) -- the {*} argument is > not acted on, though no error is given. > > uname -a says: > Linux fandango 2.6.18.8-0.9-default #1 SMP Sun Feb 10 22:48:05 UTC 2008 > i686 i686 i386 GNU/Linux Please provide more detail to help us help you: - csplit --version If the version is too old, consider retesting with a newer version of csplit. The latest stable one is from coreutils-6.12. - provide a concrete example: 1) the exact command you ran 2) any inputs you used (the smaller the better) 3) the results it produced 4) the results you expected If something might depend on your locale settings, also include the output of running the "locale" command. Anything else you think might be relevant. You may have just omitted quotes. For reference, here's a use of csplit: [yes, that belongs in the manual, so I've just added it to "info coreutils csplit"] # create and run the test in an empty directory $ mkdir d && cd d # Split the sequence of 1..14 on lines that end with 0 or 5 $ seq 14 |csplit - '/[05]$/' '{*}' 8 10 15 # Show that it created 3 files $ ls xx00 xx01 xx02 # Show their contents $ head xx* ==> xx00 <== 1 2 3 4 ==> xx01 <== 5 6 7 8 9 ==> xx02 <== 10 11 12 13 14 _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils