this post was submitted on 19 Feb 2024
237 points (99.6% liked)
196
16501 readers
2179 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ok but actually what does this do?
its a lot more readable if you replace the : with any other function name
define a funktion called fork, which calls itself twice (call once, pipe ( "|" ) the result to the same function again which is run in a new thread in the background ( "&" )). Then call the newly defined function. The : is used to make it look more like emoji.