Article View: comp.archives.msdos.d
Article #600Re: Breaking Up A Text File
From: Peter Wyzlic
Date: Mon, 08 Apr 1996 00:00
Date: Mon, 08 Apr 1996 00:00
25 lines
1522 bytes
1522 bytes
From: koala@sydney.dialix.com.au,
Message: <4k89s1$gkr$1@sydney.DIALix.oz.au>,
Date: 08 Apr 96, 02:21
You wrote in /comp/os/msdos/misc on "Re: Breaking Up A Text File":
>termite1@cris.com (Termite) writes:
>>I have a 53+Meg text file (actually a bunch of uu-encoded files
>>appended together) that I have to break down into smaller files that
>>my uu-decoder can handle.
>You could use the Un*x-style AWK utility to separately extract the files
>from your conglomerate to FILE1.UUE, FILE2.UUE, FILE3.UUE, and so on.
>
>awk 'BEGIN {n=1} /^begin/,/^end/ {print > "FILE"n".UUE"} /^end/ {n++}'
>filename
Why not *split*? There is also a Dos implementation of the Unix program
split. But can it handle a 53 Mb file? I tested it on 3 Mb (ascii) text
files and it worked.
\bye
Peter Wyzlic
--
USER ERROR: HIT ANYONE TO CONTINUE!
Technical Details
Message-ID:
<66SEtql$pqB@pwyz.rhein.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4j5ap0$kib@spectator.cris.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d683,a96a2ee5048422 X-Google-Attributes: gid10d683,public X-Google-Thread: 1674b9,a96a2ee5048422 X-Google-Attributes: gid1674b9,public X-Google-Thread: f71eb,6d355fc8ac3691c X-Google-Attributes: gidf71eb,public X-Google-Thread: 111d31,a96a2ee5048422 X-Google-Attributes: gid111d31,public From: Peter@pwyz.rhein.de (Peter Wyzlic) Subject: Re: Breaking Up A Text File Date: 1996/04/08 Message-ID: <66SEtql$pqB@pwyz.rhein.de> X-Deja-AN: 146351238 references: <4j5ap0$kib@spectator.cris.com> newsgroups: comp.archives.msdos.d,comp.binaries.ibm.pc.wanted,aus.computers.ibm-pc,comp.os.msdos.misc