Reversing Text File Rows With EsProc Script
Reverse row order in txt.txt: Write `esProc` script p1.dfx to reverse rows, outputting result to result.txt.
Problem description & analysis Below is text file txt.txt: abc 123 First line We are trying to reverse the order of rows to generate a new file as follows: First line 123 abc Solution Write the following script p1.dfx in esProc: Explanation: A1 Reverse the order of rows in the text file and output result to result.txt. SPL open source address Download