File Splitting

sinck@ugive.com sinck@ugive.com
Thu, 7 Dec 2000 15:03:19 -0700


\_ LOL!  Dude, that "head/tail" thing just HAS to
\_ go into SOME kind of "Hall of Fame."  

Um, the "Hall of Shame"...notice the trailing filenames are all
foo.02?  Sheesh.  There's a reasons I don't copy and paste code
usually, and that's it.  :-)

\_ > Ooo...that's more graceful than what I sed about using head + tail...
\_ > 
\_ > head -100 infil > foo.01
\_ > head -200 infil | tail -100 > foo.02
\_ > head -300 infil | tail -100 > foo.02
\_ > head -400 infil | tail -100 > foo.02
\_ > ....

I like my perl sol'n better still, tho.

David