query: How to write contents of a file to new file removing repeated lines
positive_passages.docid: 17186
positive_passages.text: How to get only the unique results without having to sort data?
negative_passages.docid: 136041
negative_passages.text: How to fix “No newline at end of file” warning for lots of files?
negative_passages.docid: 8544
negative_passages.text: Writing a new line to file in PHP (line feed)
negative_passages.docid: 20432
negative_passages.text: Processing lines from one text file to another
negative_passages.docid: 43994
negative_passages.text: How can I redirect matching lines to a file, and non-matching lines to a different file?
negative_passages.docid: 4793
negative_passages.text: C++ deleting line of text in a file
negative_passages.docid: 42557
negative_passages.text: How to change the contents of a line on the terminal as opposed to writing a new one?
negative_passages.docid: 107445
negative_passages.text: Printing every Nth line out of a large file into a new file
negative_passages.docid: 56257
negative_passages.text: Remove duplicate lines without sorting
negative_passages.docid: 29659
negative_passages.text: How do I print all lines of a file with duplicate values in a certain column
negative_passages.docid: 11332
negative_passages.text: How to read a file without newlines?
negative_passages.docid: 1451
negative_passages.text: How do I remove lines of a file which contain a specific string?
negative_passages.docid: 90242
negative_passages.text: How to insert the lines from a file into another file after a key word?
negative_passages.docid: 148396
negative_passages.text: Want to fill line with repeating string
negative_passages.docid: 14843
negative_passages.text: How to remove blank lines from a file (including tab and spaces)?
negative_passages.docid: 142905
negative_passages.text: How do I copy the contents of one stream to another?
negative_passages.docid: 26996
negative_passages.text: Concatenate two files and separate them with a newline