Posts

Showing posts from February 27, 2019

Print 1st column of 1st row and 2nd column of last row, where last column has same value

Image
0 Input: 0.016 0.032 1 0.032 0.048 1 0.048 0.064 1 0.064 0.08 1 0.08 0.096 1 0.096 0.112 1 0.112 0.128 0 0.128 0.144 0 0.144 0.16 0 0.16 0.176 0 0.176 0.192 0 0.192 0.208 0 Desired output: 0.016 0.112 1 0.112 0.208 0 bash shell-script text-processing share | improve this question edited 28 mins ago PRY 2,558 3 10 26 asked 2 hours ago aaa aaa 1 ...