Background: Using a csv as input, I want to combine the first two columns into a new one (separated by an underscore) and add that new column to the end of a new csv. Input: Desired output: The below awk phrase works from the command line: However, when placed within a nextflow script (below) it gives an error. Here is