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
    Knowing that i am operating on windows * Commented Jun 12, 2016 at 1:15
  • do you really want a pure bash solution, or do you want to use tools crafted for the purpose such as sort? As in: it is possible to write a function doing the sorting in pure bash – but in most cases one would use tools made for the task. The former is far more complex. Commented Jun 12, 2016 at 1:21
  • I would probably want to use the most basic solution as in a script in bash ( pure bash ) to do the trick ... Commented Jun 12, 2016 at 1:25
  • But of course i can still use sort so its fine two versions would be great Commented Jun 12, 2016 at 1:25