I have a list of coordinates (x,y,z). In addition to that, there are additional columns which are necessary. How to remove this?
AWK can be used in a simple manner.
USE:
awk '{print $2, $3, $4}' inFile.txt > coordinates.xyz
This will create the file coordinates.xyz with the necessary coordinates.
AWK can be used in a simple manner.
USE:
awk '{print $2, $3, $4}' inFile.txt > coordinates.xyz
This will create the file coordinates.xyz with the necessary coordinates.