awk is your friend:
awk '/string/ { print }' yourfile -> print every line with "string"
example:
awk '/milf/ { print }' yourfile -> print every line with "milf"
awk '/milf/ { print }' yourfile > to_new_file
You can split a big file in pieces:
split -l 1000 yourfile newfiles (1000 lines )
These are all linux/osx commands. Some like awk are also available for Windows but i am not sure.
Learn awk and you can do almost anything with a file.
But the best is to import the data into a database, learn php/mysql.
|