You are viewing a single thread.
View all comments View context
32 points
*

As a unix shell script:

(catcat’) in (catcat’ ‘cat’)

Which should evaluate to true, because ‘cat’ can be found in ‘catcat’.

permalink
report
parent
reply
13 points

bash: syntax error near unexpected token `in’

permalink
report
parent
reply
2 points

A gold star for you! Now find a language where “cat cat in cat cat cat” is legal.

permalink
report
parent
reply
6 points

cat cat in cat cat cat is legal Bash if cat and in exist, "cat cat" in "cat cat cat" is Python.

permalink
report
parent
reply
-1 points

My point is that it’s not a shell script.

permalink
report
parent
reply

memes

!memes@lemmy.world

Create post

Community rules

1. Be civil

No trolling, bigotry or other insulting / annoying behaviour

2. No politics

This is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent reposts

Check for reposts when posting a meme, you can only repost after 1 month

4. No bots

No bots without the express approval of the mods or the admins

5. No Spam/Ads

No advertisements or spam. This is an instance rule and the only way to live.

Sister communities

Community stats

  • 13K

    Monthly active users

  • 3.5K

    Posts

  • 109K

    Comments