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*

7
  • downvers argue? Commented Sep 14, 2020 at 11:35
  • maybe because it requires ruby. I think we want only logic for /bin/sh Commented Oct 8, 2020 at 22:34
  • @airtonix and where is the resitriction to "sh" in the question? Commented Oct 9, 2020 at 21:46
  • @МалъСкрылевъ it's implied by the tag shell-script. Not that I'm downvoting, mind Commented Nov 6, 2020 at 22:57
  • 1
    @МалъСкрылевъ should be obvious? you want a general function to return the platform name and so forth... but you choose to implement it in a way where it's useless on most platforms? Typically this operation is performed before installing anything else. so that means you have to work with /bin/sh Commented Feb 27, 2021 at 3:55