Ph0enixKM / Amber

💎 Amber the programming language compiled to bash
https://amber-lang.com
GNU General Public License v3.0
3.51k stars 67 forks source link

echo to stderr? #235

Open b1ek opened 1 week ago

b1ek commented 1 week ago

afaik it is not a thing in amber. it would be nice if it were, since i always have problems with that in plain bash.

there is a way to do it in plain bash:

>&2 echo "error"

but i think that with amber we could just have an errcho builtin or something

Ph0enixKM commented 2 days ago

or just:

error "You cannot do that!"