Difference between revisions of "Eval"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
+
<code>[[wikipedia:eval]]</code>
 +
* Man page: https://ss64.com/bash/eval.html
 
* https://docs.oracle.com/cd/E19683-01/816-0210/6m6nb7m8q/index.html
 
* https://docs.oracle.com/cd/E19683-01/816-0210/6m6nb7m8q/index.html
  
  eval `[[ssh-agent]] -s`
+
  eval `[[ssh-agent -s]]`
 
  Agent pid 22010
 
  Agent pid 22010
  
  <code>eval</code> is used when you want to dynamically create variables, or to read outputs from programs specifically designed to be read like this.
+
  eval $([[op signin]] my)
  
 +
<code>eval</code> is used when you want to dynamically create [[variables]], or to read outputs from programs specifically designed to be read like this.
 +
 +
== Related ==
 +
* <code>[[direnv]]</code>
 +
* [[Invoke-Expression]]
  
 
== See also ==
 
== See also ==
 
* {{Bash}}
 
* {{Bash}}
 
+
* {{shell}}
  
 
[[Category:Bash]]
 
[[Category:Bash]]

Latest revision as of 06:47, 15 March 2023

Advertising: