516
How to pickup girls 101 (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] Mango@lemmy.world 8 points 7 months ago

What's the Unix philosophy?

[-] friend_of_satan@lemmy.world 44 points 7 months ago* (last edited 7 months ago)

catb is full of great info, including the answer to the question.

http://www.catb.org/~esr/writings/taoup/html/ch01s06.html

This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

Edit: replaced with the succinct version.

[-] Mango@lemmy.world 4 points 7 months ago

Ooohhh, I've been reading bits of catb.org since I was like 13!

[-] FiniteBanjo@lemmy.today 1 points 7 months ago

Using one specific source for the definition of the Unix Philosophy is against the Unix Philosophy. /s

[-] ILikeBoobies@lemmy.ca 8 points 7 months ago* (last edited 7 months ago)

Everything does 1 thing, programs work together

I think Linux just doing the kernel should count as Unix philosophy though

[-] gens@programming.dev 3 points 7 months ago

Originally it was about code. Split it into reusable functions, and such.

SyStEMd fans don't understand, per usual.

[-] owsei@programming.dev 1 points 7 months ago

Is it not about chaining processes?

IIRC the ideia was to use pipe (or other methods) to send one program's output to another's input

But it very well could be about reusable functions, as code or as a .so file

[-] gens@programming.dev 3 points 7 months ago

Hmm. I can't find ehere i got that from, other then it being more general. https://cscie26.dce.harvard.edu/lectures/lect02/6_Extras/ch01s06.html

Either way the whole point is to write programs/code that can interoperate and be composed. SysD programs comunicate over an "implementation is the specification" protocol, so they might as well be one blob instead of separate programs.

[-] ILikeBoobies@lemmy.ca 1 points 7 months ago
[-] gens@programming.dev 4 points 7 months ago

Reply was to you, but it's still a public forum with a topic.

[-] Mango@lemmy.world 1 points 7 months ago

I see. I read the catb page and I think it's a good direction.

[-] MonkderDritte@feddit.de 6 points 7 months ago

"Do one thing but do it good" and "everything is a file. Is there more?

[-] itsnotits@lemmy.world 2 points 7 months ago

but do it well*

[-] woelkchen@lemmy.world 0 points 7 months ago

Probably the opposite of what "GNU's Not Unix" does.

this post was submitted on 22 Apr 2024
516 points (97.3% liked)

linuxmemes

21281 readers
499 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS