diff --git a/pages/osx/eval.md b/pages/osx/eval.md new file mode 100644 index 0000000000..ee1135a91d --- /dev/null +++ b/pages/osx/eval.md @@ -0,0 +1,11 @@ +# eval + +> Execute arguments as a single command in the current shell and return its result. + +- Call `echo` with the "foo" argument: + +`eval "{{echo foo}}"` + +- Set a variable in the current shell: + +`eval "{{foo=bar}}"`