J
Jack Penarth
I use a perl scrip to parse fixed-length field database outputs into
..csv files. I regularly use a back-ticked sed command to do stuff
after perl has finished with the file ('cos I am not that good with
perl yet!). I have a need to remove the last line of these files and I
thought that the following line would work:
`sed '$d' file.csv > file.csvnew`
But it doesn't. Am I missing something obvious here?
TIA
Jack
..csv files. I regularly use a back-ticked sed command to do stuff
after perl has finished with the file ('cos I am not that good with
perl yet!). I have a need to remove the last line of these files and I
thought that the following line would work:
`sed '$d' file.csv > file.csvnew`
But it doesn't. Am I missing something obvious here?
TIA
Jack