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
  • That didn't work even though I don't see what's wrong with it.. maybe sed deosn't recognize :digit:?. However, I was able to figure it out before I revisited my question. Thanks though. Commented Jul 29, 2013 at 1:18
  • @FadiHannaAL-Kass: Just out of curiosity, what OS are you using? On MacOS/FreeBSD, you probably have to use -E instead of -r; I don't have one of those to try. But the example above is a cut&paste from my terminal (ubuntu 12.04). (It could also potentially be your locale, I suppose.) Commented Jul 29, 2013 at 2:13
  • I executed the command on Ubuntu 13.04. I do have an iMac though. I'll execute the command on it, and let know know of the outcome :-) Commented Jul 29, 2013 at 2:44