On Mon, 7 Mar 2005, Olivier Delhomme wrote:

>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 ...

sed -ne '1~2p' < input > oddlines
sed -ne '2~2p' < input > evenlines


Cheers,
Phil


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to