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*

3
  • @Roaima - it's AIX Commented Oct 8, 2015 at 17:23
  • 3
    Are you sure that the shell doesn't wipe the file for writing before the cat | awk | awk pipe starts reading from it? Commented Oct 8, 2015 at 19:30
  • To put PhilippeGauthier's point more finely -- use different filename for your temporary (DISKREQ.TMP) files so that you're not clobbering them. Commented Oct 8, 2015 at 23:31