I have many log files generated like the bellow:
Date;Time;Brand;User;Node;Location 01/01/01;666;blabla;George Armani;Springfield
I want to delete the String Armani but my command is not working:
cat file.log | grep identifier | cut -d ";" -f | sort | uniq | grep -o '^\S*' > newfile.log
I'm following the next post
Is the another way to make it?
PS. There are strings in the same field with different length.