From owner-freebsd-questions@FreeBSD.ORG Sat Oct 17 05:25:46 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 693D0106566C for ; Sat, 17 Oct 2009 05:25:46 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 29DC18FC1E for ; Sat, 17 Oct 2009 05:25:45 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n9H5PCRX002196 for ; Fri, 16 Oct 2009 22:25:12 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 16 Oct 2009 22:25:13 -0700 (PDT) Date: Fri, 16 Oct 2009 22:25:13 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20091017052510.GA1893@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-3.6 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: using split, can i break up a huge txt file using a regex X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 05:25:46 -0000 Guys, I have the ASCII files of my novel, JOURNEY, in 66 textfiles. [Named 00 - 66]. I have my word-processor version is the (urp) DOC fmt to submit places and for me, when i play around with formatting and typefaces and so in, in open format, ODT. I would like to put back the huge text file into its 66 smaller files using split. Can I break this very large journeyTowardtheDawn.txt using the regex "Chapter [:digit:]{1,2}" ?? Or maybe just "Chapter " ? thanks for ideas, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php