Vote count:
0
Help me guys, I'm really lost here. I have a big text file, full of links, and I'm trying to separate them based on which website the link belongs. I was trying to do it with the csplit command, but I'm not really sure how I would do it, as it would depend on the text content.
Text example:
http://ift.tt/1yjQs09
http://ift.tt/1zf714p
http://ift.tt/1yjQqVZ
http://ift.tt/1zf72Fs"csplit"&hl=en&ct=clnk
So in this example the first two links would be in one file, and the 2 left would be in one file each. How would this work? I really don't have any idea if this is even possible. (novice programmer)
asked 1 min ago
splitting a huge text file based on line content
Aucun commentaire:
Enregistrer un commentaire