86

My primary use case for Amber is when I need to write a Bash script but don't remember the silly syntax. My most recent Bash mistake was misusing test -n and test -z. In Amber, I can just use something == "" or len(something) == 0

you are viewing a single comment's thread
view the rest of the comments
[-] gtrcoi@programming.dev 4 points 4 weeks ago

I get why this is useful, and it's useful for me as well, but the perfectionist in me asks why target bash instead of posix?

[-] lens0021@programming.dev 3 points 4 weeks ago* (last edited 4 weeks ago)

Currently, Amber does not even support Bash 2 because Bash 2 does not support the += operator. (ticket) However, I believe that POSIX compliance is on Amber's long-term milestone, and that it will eventually achieve this as its support range expands.

load more comments (4 replies)
this post was submitted on 02 Dec 2025
86 points (100.0% liked)

Linux

10848 readers
560 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS