Hello all,
Please help me with a very simple Perl script. I took a course b4 but it's been a long time so that I don't know what command to use
Example1: .txt file contains
text1 word1 sentence1
text2 word2 sentence2
text3 word3 sentence3
...
textN wordN sentenceN
I need to delete 2 columns of text in a file then save it into another file. In the example below, I need to detele 2 entities text(n) and word(n) , then save sentence(n) into a new text.file
Example2: .txt file contains
sentence1*phrase1
sentence2*phrase2
...
sentenceN*phraseN
I need to split this file into 2 .txt file: 1 file contains sentence(n) and another file contains *phrase(n)
You can just show me what command to use. Thank you very much for your help!
Please help me with a very simple Perl script. I took a course b4 but it's been a long time so that I don't know what command to use
Example1: .txt file contains
text1 word1 sentence1
text2 word2 sentence2
text3 word3 sentence3
...
textN wordN sentenceN
I need to delete 2 columns of text in a file then save it into another file. In the example below, I need to detele 2 entities text(n) and word(n) , then save sentence(n) into a new text.file
Example2: .txt file contains
sentence1*phrase1
sentence2*phrase2
...
sentenceN*phraseN
I need to split this file into 2 .txt file: 1 file contains sentence(n) and another file contains *phrase(n)
You can just show me what command to use. Thank you very much for your help!