I have a CSV file with column A, B, C. I have a script that will read 2 sentences and output a score. Specifically, i need the script to read col B and col C to output a score.
For example:
A B C
id string1 string2
My script works this way: myscript(string1, string2) = score
How do i write a line of code that takes only column B and C and then output everything into a new file?
I want to have the output into a new file like this:
A B C D
id string1 string2 score
I believe the code will go something like this but not sure of the right syntax.
textfile.csv | perl myscript.pl > new_textfile.csv
Please help
I believe this is what you need