in reply to Re^2: Removing everything before the first comma separator on each line of a text file
in thread Removing everything before the first comma separator on each line of a text file

johngg is using a here-document to construct a string consisting of the input data, and is using open with a reference to access it as an in-memory file. Also, the output of the script is shown in-line (as it would look when run from a terminal).

  • Comment on Re^3: Removing everything before the first comma separator on each line of a text file