• ShellCheck

    From Andrew Alt@1:153/757.3 to All on Wed Jun 30 13:46:28 2021
    I saw the recent thread here about shell scripting, and recently heard about this
    project

    https://github.com/koalaman/shellcheck

    ShellCheck is a GPLv3 tool that gives warnings and suggestions for bash/sh shell
    scripts

    I haven't tried it yet though...


    --
    -Andy


    ... I am not Paul.
    -+- MultiMail/Linux v0.52

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.3)
  • From Maurice Kinal@1:153/7001 to Andrew Alt on Wed Jun 30 22:16:07 2021
    -={ 2021-06-30 22:16:07.847116089+00:00 }=-

    Hey Andrew!

    I haven't tried it yet though...

    This is the first time I've heard of it and found out I lack needed dependencies that I am fairly certain I don't want or need.

    ... I am not Paul.

    Serious betting money says you are. ;-)

    Life is good,
    Maurice

    ... Don't cry for me I have vi.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Andrew Alt@1:153/757.3 to Maurice Kinal on Wed Jun 30 19:06:30 2021
    Maurice Kinal wrote to Andrew Alt <=-

    -={ 2021-06-30 22:16:07.847116089+00:00 }=-

    Hey Andrew!

    I haven't tried it yet though...

    This is the first time I've heard of it and found out I lack needed dependencies that I am fairly certain I don't want or need.

    I just got through skimming a review of it... https://linuxreviews.org/ShellCheck

    I suppose it's something I might try, as long as I can easily and cleanly remove
    any dependencies later. As always, thanks for your insights, Maurice.

    ... I am not Paul.

    Serious betting money says you are. ;-)

    LOL... you noticed my new tagline.


    --
    -Andy


    ... 2 + 2 = 5 for extremely large values of 2.
    -+- MultiMail/Linux v0.52

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.3)
  • From Maurice Kinal@1:153/7001 to Andrew Alt on Thu Jul 1 18:31:41 2021
    -={ 2021-07-01 18:31:41.108310002+00:00 }=-

    Hey Andrew!

    I suppose it's something I might try, as long as I can easily
    and cleanly remove any dependencies later.

    The easiest way I found was to download a statically linked binary which I found here;
    https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz

    According to file;
    shellcheck: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=990669f76f6f0dab2d5f632975ea0fc3a80c6de8, for GNU/Linux 3.2.0, stripped

    As always, thanks for your insights, Maurice.

    No problem. I normally install everything needed from scratch but in this case didn't really want or need all that is required to build it. As far as Haskell is concerned I am definetly not in the market for another compiler.

    LOL... you noticed my new tagline.

    Yes I did. It brought a smile to my face.

    Life is good,
    Maurice

    ... Swa cystigran hiwan, swa cynnigran gystas.
    The more generous the household, the more noble the guests.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Andrew Alt@1:153/757.3 to Maurice Kinal on Thu Jul 1 21:13:08 2021
    Maurice Kinal wrote to Andrew Alt <=-

    No problem. I normally install everything needed from scratch but in
    this case didn't really want or need all that is required to build it.
    As far as Haskell is concerned I am definetly not in the market for another compiler.

    I forgot to mention, on their website, you can paste in the contents of a script.
    No need for you to install anything other than a web browser. ;)

    LOL... you noticed my new tagline.

    Yes I did. It brought a smile to my face.

    Now if you need proof that I am not Paul, I could send a link to my PornTube verification video, but I'll first need to find the appropriate fidonet echo for
    that sort of thing.

    I'm not serious so much.

    Have a gosh-darn-swell weekend.

    --
    -Andy


    ... "42? 7 and a half million years and all you can come up with is 42?!"
    -+- MultiMail/Linux v0.52

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.3)
  • From Maurice Kinal@1:153/7001 to Andrew Alt on Sat Jul 3 21:09:54 2021
    -={ 2021-07-03 21:09:54.499066811+00:00 }=-

    Hey Andrew!

    I forgot to mention, on their website, you can paste in the
    contents of a script.

    That is like Google translate and the such.

    No need for you to install anything other than a web browser. ;)

    That would work for most people although argueably most don't have shell scripts that they need to check. For Google translate you don't need a web browser to get a translation of any text document. It is also a commandline based tool except without the extra dependencies statically or otherwise linked.

    Now if you need proof that I am not Paul, I could send a link to
    my PornTube verification video, but I'll first need to find the appropriate fidonet echo for that sort of thing.

    Interesting but I doubt it would REALLY prove anything nevermind if you are Paul ... or not which remains doubtful here. For the record Paul has yet to deny or confirm my suspicions ... but you already knew that didn't you? ;-)

    Life is good,
    Maurice

    ... Eadig biþ se þe eaþmod leofaþ; cymeþ him seo ar of heofonum.
    Blessed is he who lives humbly; mercy comes to him from heaven.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Andrew Alt@1:153/757.3 to Maurice Kinal on Sat Jul 3 21:32:06 2021
    -={ 2021-07-03 21:09:54.499066811+00:00 }=-

    Paul ... or not which remains doubtful here. For the record Paul has yet to deny or confirm my suspicions ... but you already knew that didn't you? ;-)

    I dunno know nuttin' 'bout no one.




    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.3)
  • From Maurice Kinal@1:153/7001 to Andrew Alt on Sun Jul 4 19:26:12 2021
    -={ 2021-07-04 19:26:12.736963197+00:00 }=-

    Hey Andrew!

    I dunno know nuttin' 'bout no one.

    That sounds about right. :-)

    Life is good,
    Maurice

    ... Wyrd bið wended hearde.
    Fate is hard to change.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)