this post was submitted on 11 Sep 2024
842 points (97.5% liked)

memes

10428 readers
2700 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

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

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

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

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] thenextguy@lemmy.world 39 points 2 months ago (2 children)
[–] deegeese@sopuli.xyz 32 points 2 months ago* (last edited 2 months ago) (1 children)

As a unix shell script:

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

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

[–] SpaceNoodle@lemmy.world 13 points 2 months ago (1 children)

bash: syntax error near unexpected token `in'

[–] deegeese@sopuli.xyz 2 points 2 months ago (2 children)

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

[–] PoolloverNathan@programming.dev 6 points 2 months ago

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

[–] SpaceNoodle@lemmy.world -1 points 2 months ago (1 children)

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

[–] deegeese@sopuli.xyz 1 points 2 months ago
[–] dalekcaan@lemm.ee 7 points 2 months ago

Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.