Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. task() {
  4. [ -f /tmp/todo ] || cat /tmp/todo
  5. if [ $# -gt 0 ]; then
  6. echo "$1">>/tmp/todo
  7. else cat /tmp/todo
  8. fi
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement