Project 1999

Go Back   Project 1999 > Blue Community > Blue Server Chat

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #28  
Old 05-13-2013, 11:36 PM
Adachi Adachi is offline
Skeleton


Join Date: Sep 2010
Posts: 19
Default

Under Unix you can use the split command.

Code:
split -l 1000000 file.txt
This would split the file every 1,000,000 lines into files named 'xaa', 'xab', 'xac', etc..

And if you need to rejoin the files after editing them, simply use 'cat'

Code:
cat xaa xab xac > newfile.txt
But if you just want to view the file, I'm pretty sure 'less' would work.

Oh, and vim > *
[You must be logged in to view images. Log in or Register.]
Last edited by Adachi; 05-13-2013 at 11:45 PM..
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:20 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.