• io@piefed.blahaj.zoneOP
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    12 hours ago

    not sure but for it to be a fork bomb you need something like & in ur pseudo code to go on to the next call

    rn the first call of f within the loop never completes so the second doesn’t happen. So this is “just” infinite recursion

    pls don’t scream at me should i be wrong.

    edit: i meant “completes” not “compiles”

    • A_norny_mousse@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      14 hours ago

      No you’re right.

      I also attempted to write pseudocode; not sure bash will even do this without curly brackets.