Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [ "$#" -gt 0 ]; then
- if [[ "$1" == *".pdf" ]]; then
- # got pdf file
- evince "$1"
- else
- eval "$@"
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement