you are viewing a single comment's thread
view the rest of the comments
[–] 260 points 3 months ago (24 children)
  • [–] 107 points 3 months ago (10 children)

    How am I still learning about XKCDs I've never seen especially ones in the 1000 range.

  • source
  • parent
  • hideshow 10 child comments
  • [–] 75 points 3 months ago (6 children)

    Congrats on being one of today's lucky 10,000!

  • source
  • parent
  • hideshow 6 child comments
  • [–] 43 points 3 months ago (3 children)

    if $1 is not installed after that, wipe your hard drive and start over

  • source
  • parent
  • hideshow 3 child comments
  • [–] 25 points 3 months ago (2 children)
  • [–] 18 points 3 months ago (1 child)

    Script needs to be updated, Rust wasn't particularly popular back then (if it existed. I don't know how old this one is, but it's pretty old)

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 3 months ago (5 children)

    With all those connected with & won't it skip the rest after the first failure? Or does 'no such program' or 'you don't have permission' not produce an error?

  • source
  • parent
  • hideshow 5 child comments
  • [–] 10 points 3 months ago (1 child)

    In bash, & just starts the program in the background, so all of the commands are run in parallel. You're probably thinking of &&, which runs the command on its left, checks its return code, and then decides whether run the command on the right.

    Although, in this case there are no 'commands on the right' since all the commands are on separate lines. You'd need to backslash the commands together, something like

    pip install "$1" && \
    easy_install "$1" && \
    ...
    
  • source
  • parent
  • hideshow 1 child comment