summary refs log tree commit diff
path: root/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions.sh')
-rw-r--r--functions.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh
new file mode 100644
index 0000000..440219b
--- /dev/null
+++ b/functions.sh
@@ -0,0 +1,6 @@
+firstLetter(){
+	echo "$1"|grep -o '^.'
+}
+lastLetter(){
+	echo "$1"|grep -o '.$'
+}