You must log in or register to comment.
Cat cat in cat cat cat.
As a unix shell script:
(cat ‘cat’) in (cat ‘cat’ ‘cat’)
Which should evaluate to true, because ‘cat’ can be found in ‘catcat’.
bash: syntax error near unexpected token `in’
A gold star for you! Now find a language where “cat cat in cat cat cat” is legal.
My point is that it’s not a shell script.
BOOOO!
cat cat in cat cat cat
is legal Bash ifcat
andin
exist,"cat cat" in "cat cat cat"
is Python.
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.