I have a log file and i use awk to extract the required columns. My command is
awk '{ print $2" "$5" " $6}' log.txt
The $5 column contains the servername and the format can be like @:server1@:@:@:, server2@:@:@:@:@:, @:@:Server3 with no fixed amount of @: symbols.
How do I modify my statement so that I remove all the '@:' from the column 5 to get only the server name?