Skip to main content
7 events
when toggle format what by license comment
Jul 8, 2022 at 9:21 comment added Antas Sharma Ah I realised later that it works in a shell script. Thanks
Jul 8, 2022 at 9:06 comment added Kamil Maciorowski @AntasSharma I gave you no shell code because this other answer beat me to it and I couldn't do significantly better. The code there is exactly for a shell like Bash, interactive or not; the ver function even sets shell variables you can use later without additional effort.
Jul 8, 2022 at 8:56 comment added Antas Sharma I am trying to get the version inside a shell script instead of the terminal. For the terminal I guess it could be managed but I don't know for the shell script
Jul 8, 2022 at 7:15 history edited Kamil Maciorowski CC BY-SA 4.0
edited body
Jul 8, 2022 at 6:35 history edited Kamil Maciorowski CC BY-SA 4.0
added 506 characters in body
Jul 8, 2022 at 6:16 history edited Kamil Maciorowski CC BY-SA 4.0
added 582 characters in body
Jul 8, 2022 at 5:48 history answered Kamil Maciorowski CC BY-SA 4.0