Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- task() {
- [ -f /tmp/todo ] || cat /tmp/todo
- if [ $# -gt 0 ]; then
- echo "$1">>/tmp/todo
- else cat /tmp/todo
- fi
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement