Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • The output works! But somehow when i ran it it gives out 113.281 first, then the next line is -88.2017 Commented Nov 16, 2017 at 6:00
  • I added a printf to make the output sorting irrelevant. Commented Nov 16, 2017 at 10:16
  • i am still getting $CROSS_BEAM_PROPERTY_109 as the first line. Is it because i am using tcsh and not bash? Commented Nov 16, 2017 at 10:36
  • @nabilishes odd, Im not sure. Does it still happen if you ditch the cat command and put $file at the end of the awk command? Commented Nov 16, 2017 at 10:40
  • yeah it gives out the same result. $CROSS_BEAM_PROPERTY_109 113.280564 as the first line Commented Nov 16, 2017 at 10:43