Lens0021 / Leslie
Lens0021 / Leslie
tbh, I am hesitating because I think array comparison has not the standard definition and is not a common binary operator in programming. If string is not acceptable, how about...
> I'd also want a less cumbersome function name. I agree. `bash_version_is_greater_than` is too long. > On the contrary, lexicographic ordering is implemented for lists in Python and arrays in...
Therefore, https://github.com/amber-lang/amber/blob/82817af9de66eec4b6e32aa3a0f65007fbcdf854/src/std/env.ab#L110 prints the warning. Isn't it happened to anyone than me?
I'm not yet familiar with the new sub commands enough :sweat_smile:
Even worse, `amber eval 'echo "-E"'` prints nothing for me :rofl:
amber `echo "-e"` is compiled to bash `echo "-e"` currently. ~~But it should be `echo -- "-e"`.~~ From man echo: > -e Enable interpretation of backslash escapes. > > Unlike...
amber `let flag = "-E"; echo flag` → bash `__0_flag="-E"; echo "${__0_flag}"` and the output is also empty. One solution I can think is replacing `echo {}` with `printf "%s\n"...
This is also feasible: ```bash $ env POSIXLY_CORRECT=1 echo -E -e ``` https://discord.com/channels/1235872011603939328/1235872012354977884/1310658141540843563
What I've found on StackOverflow recommands to executing git command before the building. https://stackoverflow.com/a/44407625/10916512