In the end I have to come to you because I can't find the way to do it and I'm going a bit crazy.
I have a record entry from a file. This file sends the data in a disorderly way and I have managed to assign it to variables.
Now the only thing I want is to create an output in a file but with the order I need.
EJ of log entry :
user1 2020 barcelona 12 13:39 12 spaghetti
And I want an exit like