Skip to content
Advertisement

Tag: get

linux get specific fields from several files

I have several files starting with the string “file” then a number (file1, file2, etc). The content of these files is similar and looks like this For each file, I want only keep the index of the element and the 2 numeric fields just after coordinates (in the same file or in another file): file1: What I tried to do

Advertisement