Skip to content

Instantly share code, notes, and snippets.

View danitfk's full-sized avatar

danitfk danitfk

View GitHub Profile
#!/bin/bash -x
# Global variables
taskFile="/tmp/.task.txt"
function taskAdd {
echo "Task Add"
checkTaskfile
# Check if task name is not empty
checkString=$(echo $@ | sed 's/add//g')