LisPi · @lispi314
687 followers · 14703 posts · Server mastodon.top

@ariadne Wouldn't this also be flagged by ?

#shellcheck

Last updated 1 year ago

dewomser · @dewomser
243 followers · 1505 posts · Server social.tchncs.de

Die Haskell Katastophe beim -Update ist gefunden. Es war ,

Warnung: manjaro-hello: Lokale Version (0.7.0-6) ist neuer als extra (0.7.0-5)

Glaub ich zumindest
Ich hab dann mal vorsichtshalber die snap Version installiert.
funktioniert 😃

#manjaro #shellcheck

Last updated 1 year ago

Tealk · @Tealk
575 followers · 6176 posts · Server rollenspiel.social

So now I'm also done with the latest version of the maintenance script.

It got some new features and also is happy with me :rm_stickingouttongue:

It started in the forum and meanwhile it arrived at , I hope it can help one or the other.

codeberg.org/Fedimins/mastodon

#mastodon #shellcheck #fedimins #codeberg

Last updated 1 year ago

dewomser · @dewomser
232 followers · 664 posts · Server social.tchncs.de

Prüfe deine Shellscripte mit !

Man muss nicht alles korrigieren was da angemahnt wird … manchmal geht das auch gar nicht… aber wenn Shellcheck keine Rückmeldung schickt, dann freut sich der Bastler.😃
shellcheck.net/

#shellcheck

Last updated 1 year ago

dewomser · @dewomser
232 followers · 466 posts · Server social.tchncs.de

Na so was ?!
mag mein sed Kommando nicht.
Ich soll bashinternes Ersetzen benutzen !

Sag mal, gehts noch?
SC2001
shellcheck.net/wiki/SC2001

#shellcheck

Last updated 1 year ago

Kir Axanov · @axkira
0 followers · 104 posts · Server fosstodon.org

- bash/sh scripts static analysis tool :bash: ❤️

#TIL #shellcheck

Last updated 1 year ago

ADMIN magazine · @adminmagazine
144 followers · 20 posts · Server hachyderm.io
James C :python: · @jamescooke
45 followers · 170 posts · Server fosstodon.org

It's a good thing that documentation of errors raised seems to be coalescing around the "Problematic code / Correct code / Rationale" pattern.

Does anyone know if there's a name for this pattern of ?

The first tool I saw doing this was - here's an example of an error page: github.com/koalaman/shellcheck

#linter #documentation #shellcheck

Last updated 2 years ago

Maciej Barć · @xgqt
283 followers · 3006 posts · Server fosstodon.org

@aglet

Oh yes, also has integrations for common editors/IDEs.

#shellcheck

Last updated 2 years ago

Neil Craig · @tdp_org
1126 followers · 828 posts · Server mastodon.social

If you use VS Code and write bash, but you're not actually very good at bash, ShellCheck is great. It'll show you where you make mistakes that can be non-obvious and encourage you to use modern syntax:
marketplace.visualstudio.com/i

#vscode #bash #linter #shellcheck #code #shell

Last updated 2 years ago

Cyril Brulebois · @CyrilBrulebois
170 followers · 285 posts · Server mamot.fr

@zhenech well, yes, I do have wired in a bunch of builds, just not for all packages I'm touching today, from multiple machines, not all of them having proper editors/hooks/confs deployed. That's why I'm enjoying as the last line of defense before wasting time. 🙃

#shellcheck #lintian

Last updated 2 years ago

David Cantrell · @DrHyde
117 followers · 239 posts · Server fosstodon.org

I just wrote a non-trivial shell script. only complained once, and its complaint is about something I *know* can't happen. From this I can only conclude that I have found a bug in shellcheck.

Not familiar with shellcheck? It's here <shellcheck.net/>, and if you ever write even the tiniest shell script and don't use it you are an EVIL BLASPHEMER, HERETIC AND SINNER, DOOMED TO THE FIERY PIT.

#shellcheck

Last updated 2 years ago

Jürgen · @elbosso
94 followers · 3365 posts · Server mastodon.social

juhu! meine Idee eines projektes zum / von konfigurationen nimmt gestalt an:
* dashboards
* folder
* datasources
funktionieren schon und das einlesen in einen jungpersönlichen grafana- ebenfalls.
damit ist das endziel, die produktivinstanz durch in und/oder automatisch zu beschicken auch nicht mehr weit entfernt!
jetzt kommt erstmal noch bisschen ins projekt und dann wird veröffentlicht!

#backup_tools #backup #restore #grafana #docker #cicd #gitlab #github #shellcheck

Last updated 2 years ago

viq · @viq
97 followers · 1345 posts · Server social.hackerspace.pl

Aaaaand now checking what bash version is present on Debian 8 Jessie (people like themselves some old Debians, yo), to see which of the fixes suggested by I should apply 😂

#shellcheck

Last updated 2 years ago

dewomser · @dewomser
222 followers · 29 posts · Server social.tchncs.de

Der mit der tanzt:
nervt, aber trotzdem will man seine Syntaxfehler wissen.

2. Zeile nach dem Shebang diese Zeile reinschieben

/usr/bin/shellcheck "${0##*/}"

Der Code wird jetzt bei jedem Start geprüft.
untergang.de/index.php/linux-b

#shellcheck #bash

Last updated 2 years ago

Anisse :unverified: · @aissen
204 followers · 267 posts · Server octodon.social

@blinry Pro-tip when using : use it as a learning tool as well!

Sometimes you might find an error which you really think is harmless. Go read the SCxxxx wiki documentation ! You'll learn how your code can break, and how cursed shell scripting can be 🙂

#shellcheck

Last updated 2 years ago

Ed W8EMV · @w8emv
180 followers · 155 posts · Server hachyderm.io

@blinry

Spellcheck is "written in Haskell, if you're into that sort of thing."

Another similar tool is Hadolint at

github.com/hadolint/hadolint

"Dockerfile linter, validate inline bash, written in Haskell"

Linters are great especially when you use them at the start of a project!

[ ]

#shellcheck #hadolint #haskell #bash

Last updated 2 years ago

Mæve 🏳️‍⚧️ · @sid
1016 followers · 2365 posts · Server tilde.zone

@shibao shell scripting is so finicky that I made it a habit to run them through just to be sure

#shellcheck

Last updated 3 years ago

OSTechNix · @ostechnix
520 followers · 1486 posts · Server floss.social
Mehrad :kdenew: :emacs: 🇪🇺 · @Mehrad
549 followers · 3458 posts · Server fosstodon.org

Yet another reminder that is is an amazing and essential tool for shell scripting. I just used it to check a shell script on mine and it perfectly caught some of the faults and made constructive criticism. Also there were some points that I didn't know why it is considering a mistake, and then I realized every error has a code and a URL and the bottom of the list that contains perfect and clean explanation of why this is a mistake. I highly suggest it:

github.com/koalaman/shellcheck

#shellcheck

Last updated 3 years ago