bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

split, csplit or nl ?


From: Olivier Delhomme
Subject: split, csplit or nl ?
Date: Mon, 7 Mar 2005 22:14:03 +0100

Hello,

I have a specific problem with a file that i want to split :
I would like to split the file in 'x' pieces for exemple. But i would
like to have line one in file one, line two in file two and so on then
line x in file x and line x+1 in file one ...

I looked at grep, split and csplit and found nothing that coul help me.
I finaly found 'nl'. I think that this program can help me, but it
needs a patch to the -b option to allow numbering only lines with an
increment different of one.

So before I go and try to code this I would appreciate your point of
view and may be you'll point me how to do this with the already created
tools out there.

Thanks a lot,

Olivier.

Attachment: pgpKypPtLRhHF.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]