Skip to content
Snippets Groups Projects
Commit 5759341d authored by Amrita Deb's avatar Amrita Deb
Browse files

Bugfix to remove trailing blank(mr4) in sh file

parent 50e0dbbd
No related branches found
Tags v0.1.0
No related merge requests found
Pipeline #457821 passed
......@@ -164,7 +164,7 @@ echo -ne "Start iterating..."
# parse the required fields from the csv file
id=$(echo $line | awk -F',' '{printf "%s", $1}' | tr -d '"')
id="${id/"Teilnehmer/in"/}" # remove "Teilnehmer/in" to get the assignment id
id="${id/"Participant"/}" # do the same for "Participant"
id="${id/"Participant "/}" # do the same for "Participant"
# remove quotation marks from content
lastname=$(echo $line | awk -F',' '{printf "%s", $2}' | tr -d '"')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment