Permalink
Browse files

arguments to functions

  • Loading branch information...
1 parent 18a973b commit 713a460ef961c57972a72cc432d565a4ac50cafc @NathanNeff committed Feb 26, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 fun.sh
View
@@ -0,0 +1,7 @@
+#!/bin/sh
+function foo {
+ echo $1
+ echo "bar"
+}
+
+foo bonky

0 comments on commit 713a460

Please sign in to comment.