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.

3
  • 1
    OP's problem was different. Their grep didn't support the -o option. Commented Jan 28, 2015 at 18:43
  • ah, ok. Still very new to this and wondered why if he was so close to an answer everyone too him away from grep. Commented Jan 28, 2015 at 18:45
  • That's fine, I suppose. The comments below the question are informative. terdon points out this, and other mistakes in OP's approach (notably, even this does not do what OP wants, which is counting the number of tabs per line). Commented Jan 28, 2015 at 18:50