Difference between revisions of "Function"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
 +
== Bash ==
 +
* [[Bash]]: <code>[[function]] { }</code>
 +
 +
log() {
 +
echo "[$([[date]] --rfc-3339=seconds)]: $*"
 +
}
 +
  
  
* [[Bash]]: <code>[[function]] { }</code>
 
  
 
* <code>[[def]]</code> [[python]]
 
* <code>[[def]]</code> [[python]]

Revision as of 12:51, 17 February 2021

Advertising: