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*

4
  • 1
    This is the only right answer here IMO. Dunno what it is doing sitting down the bottom with no votes... Commented Dec 24, 2014 at 10:54
  • 5
    @Graeme: maybe because it's utterly unreadable ? Commented Feb 6, 2016 at 14:04
  • I upvoted but then retracted it-- yes, this answer is a mess, It seems to be on a useful track, but it's not at all clear what the code snippit is trying to do-- the first line is a comment and the second one is an error (in bash, anyway). Could use some work. Commented Oct 5, 2018 at 20:41
  • Oh I see, the first version of the answer was clearer (still an error on 2nd line if you actually try to run it though)... and then a series of edits completely trashed the code sample so it's now nonsense. Could use another pass or two :-) Commented Oct 5, 2018 at 20:43