News for hackers. Stuff that matters.
Re:A shell colon does nothing. Use it anyway. by search_facility on Sunday July 26, 2026 @07:06AM (#49056853)
This "hidden knowledge" is fun to read but pain to remember and use, especially when working with multi-platform environments //

Switched from bash to plain python scripts for shell stuff everywhere several years ago, and never looked back into bash zoo anymore. Stable syntax across Win/Mac/Linux, no bash/zsh/msys2 obscure differences, normal errors and Clause writes scaffolds quick and flawless anyway

Re:A shell colon does nothing. Use it anyway. by wodenokoto on Sunday July 26, 2026 @07:23AM (#49056970)
I find Python a terrible bash replacement.

Calling all the command line tools is cumbersome, the Python cloud APIs are verbose compared to the cli tools and often have very different concepts for how they interact with services.

But I agree that there is a need for a better bash and zsh is nice but not the upgrade that is needed

Re:A shell colon does nothing. Use it anyway. by wpm on Sunday July 26, 2026 @11:12PM (#49064809)
I guess if you're never calling out to any third-party python libraries, that can work.

I'd never call Python "portable" though if you have outside dependencies.