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
  • thank you, as far as i know Bash doesn't support float comparison also bc does not supported in posix Commented Mar 27, 2020 at 19:22
  • 2
    bc is part of the POSIX spec (see here). Are you working in an environment that doesn't have it? Does it have awk or perl? Also, should the title be about "comparison" instead of "compression"? Commented Mar 27, 2020 at 20:11
  • yes it has perl and awk Commented Mar 27, 2020 at 20:13
  • bc is a mandatory utility so it must exist. If it's somehow missing in a non-standard system then just use dc Commented Mar 28, 2020 at 16:58