modernish

Stars and mentions

Last 30 days, Oct 4 – Nov 2

GitHub stars0
mentions1
01234Oct 4Oct 18Nov 2
UTC days · repositories modernish owns0 repositories

Package downloads

No package download history available yet.

Top repositories

modernish’s repositories ranked by new stars, as on trending.

Loading

Contributes to

Repositories outside modernish’s account where modernish opened or reviewed pull requests in the past 365 days.

Who noticed modernish

Everyone who starred or forked modernish’s repositories since the archive began in 2011.

Notable accounts

Ordered by the stars their own repositories have received.

Biggest fans

Accounts that starred the most of these repositories.

Breakout weeks

Each repository’s best week of new stars, with the release published around it.

Mentions

1post
Nov 30 posts
  1. > create programs that are highly portable, able to run on any contemporary Unix system with no runtime dependencies other than the basic utilities specified by POSIX.1-2024. (Of course, your programs may have their own runtime dependencies; that’s fine. But everything in Brut adheres to the POSIX constraint.) That means you can run your program on a wide range of hosts, from a Linux virtual machine, to a BSD server, to a Mac laptop, to a tiny single-board computer I don't believe in "just use POSIX shell" ... Here is a recent article (not from me) that makes some good points: - alganet.dev - news.ycombinator.com I actually forgot about this example, and it's pretty bad: $ sh -c "echo 'a\nb'" a b $ bash -c "echo 'a\nb'" # same program has a different meaning!! a\nb # POSIX doesn't help you !!! i.e. busybox ash and dash are the default /bin/sh on Alpine and Debian respectively, and they differ a lot from bash, which is the /bin/sh on other distros (I think Red Hat based systems, although I am not sure. Maybe Arch) Also I am not sure but on OS X did /bin/sh used to be bash 3 (which has many differences from bash 4 !!), and then it changed to zsh? Or do they have a different stable /bin/sh ? I suspect the former --- If you really want to make shell portable in shell, you will get into crazy hacks like this: modernish/modernish > Modernish is a library for shell script programming which provides features like safer variable and command expansion, new language constructs for loop iteration, and much more. i.e. It's not even that you can't use echo, but you have to turn shell into a different programming language. Look at modernish code -- it's a different language, that happens to run on many shells. ---- As far as Oils, I would say OSH makes a large subset of bash a reasonable portable target -- it is the most bash-compatible shell in the world: pages.oils.pub And YSH is a different language, which is better done in native code, at the interpreter level, than in shell (as modernish does)

    18 points
Trending awards, every completed day and week
Gold
01st place finishes
Silver
02nd place finishes
Bronze
03rd place finishes
Awarded repositories
0Owned by modernish now

No trending awards yet

None of the repositories modernish owns has finished in the top three of a completed trending day or week, by stars, forks or PR authors. See who is trending now.

A repository earns an award for finishing first, second or third in a completed trending day or week, ranked by new stars, new forks or pull request authors. Awards follow a repository through renames and transfers and count toward its current owner. Weeks run Monday to Sunday, UTC.