a-Shell-commands
a-Shell-commands copied to clipboard
inline command- evaluate $( command )
Hello @holzschu,
Is there any possibility to have inline command evaluate or $() and `` or it's a bug?
Cause I've the normal behavior when I write a shell script.
I was trying to change PS1 variable by executing > PS1=$(whoami) and the result is command not found.
Best regards.
The default shell is more limited, but also with a low memory cost. If you need $() or backquoted commands, you have to use dash, which is a full implementation of sh. One key limitation of dash inside a-Shell is that you can only backquote commands or files, not functions.
Thanks