|11 days ago||4 days ago|
|GNU General Public License v3.0 only||Eclipse Public License 1.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
For Loop against multiple directories.
1 project | reddit.com/r/bash | 23 May 2022
Your for loop is missing the do keyword, example: for i in 1 2; do echo $i; done. You can use https://www.shellcheck.net/ to check your shell script.
How would i go converting this while loop into a for loop ?
1 project | reddit.com/r/bash | 20 May 2022
So in conclusion, your code snippet isn't convertible into a for loop in a good, semantic way. Keep it as while loop. Also bonus tip, check the sidebar for resources such as ShellCheck to check your code for subtle mistakes
Variables in Bash Script
1 project | reddit.com/r/linuxquestions | 16 May 2022
ShellCheck warns about this and other common problems
Can't figure out how to accept user input to break out of while loop
2 projects | reddit.com/r/bash | 15 May 2022
This, plus [shellcheck](https://www.shellcheck.net/) or something similar should help you figure out most problems a LOT faster.
I can't for the life of me figure out the weird syntax!
1 project | reddit.com/r/linuxmasterrace | 14 May 2022
shellcheck is quite nice to check your syntax for mistakes, even ones that don't usually cause issues but perhaps on files with spaces in their names, etc.
i was watching a tutorial of learning bash but came across this error. can anyone help?
1 project | reddit.com/r/bash | 14 May 2022
Final suggestion, run your script through https://www.shellcheck.net/ to get suggestions on improvements.
Choosing an improved terminal/shell and need help
3 projects | reddit.com/r/Fedora | 14 May 2022
A tool like shellcheck can help quite a bit in navigating bash requirements: https://github.com/koalaman/shellcheck I'd suggest using Zsh interactively (w/ syntax highlighting, autocompletion, easy to use hook functions, etc.); & stick to bash with shellcheck analysis for scripting generally.
AWK return/print as nested array in Bash
2 projects | reddit.com/r/sysadmin | 13 May 2022
So you probably want two nested while loops as you count down or up the array. These examples should fix you up. I recommend the vanilla POSIX while example, and install the command-line version of shellcheck to lint your code as you go along.
Why does this command always output "bar"
1 project | reddit.com/r/bash | 11 May 2022
Note, also: https://github.com/koalaman/shellcheck/wiki/SC2015
My code isn’t working as expected, would like some help
1 project | reddit.com/r/bash | 10 May 2022
ClojureRS – Clojure interpreter implemented in Rust
9 projects | news.ycombinator.com | 30 Apr 2022
I've been checking out Babashka  recently. It allows you to write clojure scripts and output a single-binary with fast startup time.
Then I did a very brief search for clojure libraries, things like parsing html. Most of the github projects were not seeing much activity.
I've found bash-as-glue of unix programs like ImageMagick, curl, jq and pup very practical. I was just looking for a possible alternative to be sure I'm not missing out. Doesn't seem like it.
Anyone wants to hop in and sell me on his own approach?
Tutorial Series to learn Common Lisp quickly
17 projects | news.ycombinator.com | 27 Apr 2022
Clojure doesn't need JVM. You can run it with GraalVM either directly  or via Babashka . Both are great options for get into Clojure since there's almost no startup time like JVM and you don't have to be burdened with learning and heaviness of JVM stack.
GraalVM 22.1: Developer experience improvements, Apple Silicon builds, and more
10 projects | news.ycombinator.com | 26 Apr 2022
Examples of Clojure projects that compile to native:
- babashka (https://github.com/babashka/babashka)
- clj-kondo (https://github.com/clj-kondo/clj-kondo)
- jet (https://github.com/borkdude/jet)
SCI is a Clojure interpreter that allows you to evaluate Clojure code even inside of the final native binary and is used in all of the above projects.
Feel free to bug me with questions in the graalvm channel on Clojurians Slack.
2 projects | news.ycombinator.com | 16 Apr 2022
thanks to babashka also for command line tools and other use-cases (serverless?) where startup time matters
Clojure Isn’t for Me
4 projects | news.ycombinator.com | 15 Apr 2022
Zuo: A Tiny Racket for Scripting
8 projects | news.ycombinator.com | 13 Apr 2022
Give babashka a try. It’s a (very batteries-included) clojure dialect that has the specific goal of replacing shell scripts like that: https://babashka.org/
Babashka 0.8.0 (Changelog)
1 project | news.ycombinator.com | 4 Apr 2022
Clojure 1.11 is now available
4 projects | news.ycombinator.com | 22 Mar 2022
If you have been filtering out clojure due to dislike of JVM, give it a try with GraalVM either directly  or via Babashka . GraalVM will in most cases not only run your code much faster than JVM, but cuts startup time from seconds down to msecs , not to mention compiling to native with c api or LLVM. With Babashka, it packages a subset of GraalVM so you don't have to install that but is more limited. So if you just want to play around with clojure to see if you like it, Babashka is a great way to start.
 https://arnoldgalovics.com/java-cold-start-aws-lambda-graalv... (large proj - dynamoDB)
 https://dev.to/wololock/groovy-script-startup-time-from-2-1s... (small proj)
How to do math in linux?
2 projects | reddit.com/r/linuxmemes | 22 Mar 2022
Real chads use babashka.
Easily handle CLI operation via Python instead of regular Bash programs
10 projects | news.ycombinator.com | 11 Feb 2022
Babashka is really lovely to do data transformation with if you're more familiar with Clojure.
What are some alternatives?
bash-language-server - A language server for Bash
efm-langserver - General purpose Language Server
PowerShell - PowerShell for every system!
shfmt - Dockernized shfmt. This formats shell script.
neomake - Asynchronous linting and make framework for Neovim/Vim
sh - A shell parser, formatter, and interpreter with bash support; includes shfmt
ohmyzsh - 🙃 A delightful community-driven (with 2,000+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
proot - An chroot-like implementation using ptrace.
malli - Data-Driven Schemas for Clojure/Script.
stan - 🕵️ Haskell STatic ANalyser
shellharden - The corrective bash syntax highlighter
janet - A dynamic language and bytecode vm