Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- if [[ $(file "./foo.txt") in *mp4* ]]
- then
- echo "it's text!"
- else
- echo "it's not text"
- fi
- exit
- //**//
- ./makemp4.sh: line 3: conditional binary operator expected
- ./makemp4.sh: line 3: syntax error near `in'
- ./makemp4.sh: line 3: `if [[ $(file "./foo.txt") in *mp4* ]]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement