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*

2
  • 5
    May be you should try to replace the \t in the sed statement with CTRL-V<TAB> where <TAB> is the tab key and CTRL-V is control key and v pressed together. Commented Jul 18, 2014 at 14:25
  • if ruby is also getting wrong answer, then it could be your regexp library. (I have tested both your commands, and both replace tab with 2 spaces.) It so then hopefully if you install Gnu sed it will also install the correct library. Commented Jul 18, 2014 at 16:44