Article View: comp.os.msdos.misc
Article #3850Re: Breaking Up A Text File
From: John Savage
Date: Sun, 07 Apr 1996 00:00
Date: Sun, 07 Apr 1996 00:00
18 lines
1499 bytes
1499 bytes
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
ftp ftp.coast.net /SimTel/msdos/awk/
awk320.zip B 98194 910713 AWK text scanning and processing language
ftp ftp.coast.net /SimTel/vendors/gnu/gnuish
mawk11ax.zip B 144640 1993
gawk2156.zip B 233855 1995
--
John Savage koala@sydney.dialix.com.au
Technical Details
Message-ID:
<4k89s1$gkr$1@sydney.DIALix.oz.au>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,start X-Google-Attributes: gid10d683,public X-Google-Thread: f71eb,6d355fc8ac3691c X-Google-Attributes: gidf71eb,public X-Google-Thread: 1674b9,a96a2ee5048422,start X-Google-Attributes: gid1674b9,public X-Google-Thread: 111d31,a96a2ee5048422,start X-Google-Attributes: gid111d31,public From: John Savage <koala@sydney.dialix.com.au> Subject: Re: Breaking Up A Text File Date: 1996/04/07 Message-ID: <4k89s1$gkr$1@sydney.DIALix.oz.au> X-Deja-AN: 146218773 sender: koala@sydney.DIALix.oz.au references: <4j5ap0$kib@spectator.cris.com> organization: Gumleaf Smoke Signals Telegraph Co. newsgroups: comp.os.msdos.misc,comp.binaries.ibm.pc.wanted,comp.archives.msdos.d,aus.computers.ibm-pc