Difference between revisions of "Function"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
  
== Bash ==
+
== [[Bash shell functions]] ==
* [[Bash]]: <code>[[function]] { }</code>
 
 
 
log() {
 
echo "[$([[date]] --rfc-3339=seconds)]: $*"
 
}
 
 
 
error() {
 
  echo "[$([[date]] --rfc-3339=seconds)]: $*"
 
  exit 1
 
}
 
 
 
my_funtion () {
 
        echo "Executed my_function with $1 parameter"
 
}
 
  
 
== Python ==
 
== Python ==
Line 24: Line 10:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[.bash_profile]]</code>
 
* <code>[[.bash_profile]]</code>
 +
* [[Terraform functions]]
 +
* [[Helm functions]]
 +
* [[aws lambda]]
 +
* [[Cloudformation functions]]
 +
* [[GCF]]
 +
* [[return]]
  
 
== See also ==
 
== See also ==
 +
* {{function}}
 
* {{Bash}}
 
* {{Bash}}
 
* {{Programming}}
 
* {{Programming}}
  
 
[[Category:Programming]]
 
[[Category:Programming]]

Latest revision as of 17:39, 31 January 2023

Advertising: