#shell_scripting

Farooq | فاروقfarooqkz@cr8r.gg
2025-05-30

The more #sh scripting I do, the more I love it and wondering why I didn't learn it earlier. So for #wakegp now I have done this to have 256 runs for different values of deletion_mutation_rate and deletions_per_mutation:

➜  runs5 git:(main) for i in {0..255}; do 
for> for size in nanod minid microd halfd thirdd majord; do
for for> for r in 1 2 4 8 16; do
for for for> w_run p4_"$size"_"$r" $i;
for for for> done
for for> done
for> done

w_run itself is a function I defined in my .zshrc

But of course, the syntax is hard. And it's not as easy to learn as something like Python. I wonder if #unixlike operating systems such as #Linux and #BSD would consider quitting the current sh in favor of something new designed from scratch.

Last time I remember, in the list of projects #NLnet had founded, there was a niche new shell invented for unix like systems. I'm gonna check it out. Also #OpenBSD people have something for themselves.

Edit: I had forgotten to add echo -n "$i "; date +%T

#FreeBSD #tech #geek #shellscripting #scripting #bash_scripting #shell_scripting #programming

2024-02-25

[Перевод] Релиз Bun Shell

JavaScript — самый популярный скриптовый язык в мире. Так почему же так сложно запускать shell-скрипты на JavaScript? Этим вопросом задались создатели Bun (альтернатива Node.js - очень быстрый runtime для запуска JS-кода, а также менеджер зависимостей, тест раннер, бандлер для фронтенда, транспилятор TypeScript и не только). 20 январе 2024 в рамках Bun v1.0.24 был представлен Bun Shell - встроенный интерпретатор shell-подобных скриптов. Под катом узнаем зачем это нужно и какой функционал уже доступен?

habr.com/ru/articles/795949/

#bun #bun_shell #bash #zsh #shell #shell_scripting #shellскрипт

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst