-4
votes
1answer
60 views

Syntax for Functions in Bash

I do know the JavaScript syntax: var functionName = function(some perameter){ some code here; }; but what is the syntax for a function in bash?
0
votes
1answer
897 views

Vim: Custom Folding function done, custom highlighting required

I have defined a function in vim to properly indent folds. Ie so they look like this: Unfolded this is text also text indented text indented text not indented text folded with default ...
7
votes
4answers
12k views

How to call bash functions

Maybe I am looking at this the wrong way.. But here I what I am trying to do. Do most of my work with Java but just switched to a unix (bash) environment. I am doing this: [~/Desktop/bashPlay]% ...