GNU bug report logs - #8796
I need help piping csplit

Previous Next

Package: coreutils;

Reported by: Julio Cesar Gonzalez Torres <bettlebog <at> gmail.com>

Date: Fri, 3 Jun 2011 19:51:01 UTC

Severity: normal

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Julio Cesar Gonzalez Torres <bettlebog <at> gmail.com>
To: 8796 <at> debbugs.gnu.org
Subject: bug#8796: I need help piping csplit
Date: Fri, 3 Jun 2011 14:46:26 -0500
[Message part 1 (text/plain, inline)]
Hi I have an issue, I'm trying to split several files into two the first one
is the head of file and the next one has to start with some title, but
csplit don't allowe me to piping, this is how i'm doing

$> find ./ -name '*out' | xargs csplit '/All Frequencies/' '/Statistical/'

I have to now all the locations of files that ends with "out", next every
time the command finds a file I want to csplited but terminal sends me an
error:

csplit: cannot be open «/Statistical/» to read: file or extension don't
exist--
*
*_¬\_           ___________________________
 (  ¬¸>        || Julio César González Torres||
  |   \ »──   || UAM-Azcapotzalco  FAMA   ||
  | V()         ─────────────────────
  L  //
   |_ |_*
*
[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.