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*

5
  • 3
    Sounds like buffering issue, run cut with stdbuf -oL cut... Commented Aug 31, 2015 at 15:45
  • Hey, I just learned about new coreutils command. Thanks, Stéphane! Commented Aug 31, 2015 at 15:53
  • @StéphaneChazelas Thanks, this fixes it for Linux. On OSX the problem persists. Commented Aug 31, 2015 at 15:57
  • @StéphaneChazelas unfortunately, this didn't improve over cut Commented Aug 31, 2015 at 16:26
  • To find the reason for this problem, I recommend to run cut under truss(1) or your local equivalent. Use truss -o o cut ... and later check the content for the file o. Commented Aug 31, 2015 at 16:41