RosettaCodeData/Task/Shell-one-liner/UNIX-Shell/shell-one-liner-4.sh

4 lines
171 B
Bash

$ VAR=`echo hello` # obsolescent backtick notation
$ VAR=$(echo hello) # modern POSIX notation
$ (echo hello) # execute in another shell process, not in this one