greycat 1234217316 learn To define: funcname() { your code here; } ## To use: funcname arg1 arg2 .... greycat 1236286474 forget greycat 1236286490 learn To define: funcname() { your code here; } ## To use: funcname arg1 arg2 ... ## http://mywiki.wooledge.org/BashGuide/TheBasics/StructuralConstructs#Functions yitz_ 1263830010 forget yitz_ 1263830273 learn To define: funcname() { your code here; } ## To use: funcname arg1 arg2 ... ## function http://mywiki.wooledge.org/BashGuide/CompoundCommands#Functions e36freak 1312559827 forget e36freak 1312559831 learn To define: funcname() { your code here; } ## To use: funcname arg1 arg2 ... ## http://mywiki.wooledge.org/BashGuide/CompoundCommands#Functions BlastHardcheese 1387256431 forget BlastHardcheese 1387256436 learn To define: funcname() { your code here; } ## To use: funcname arg1 arg2 ... The "function" keyword should be avoided. ## http://mywiki.wooledge.org/BashGuide/CompoundCommands#Functions llua 1435601330 forget llua 1435601339 learn To define: funcname() { your code here; } ## To use: funcname arg1 arg2 ... The "function" keyword isn't portable. ## http://mywiki.wooledge.org/BashGuide/CompoundCommands#Functions