Slashdot Mirror


Command Line Life Partner Wanted

emj writes "Craiglist offers an interesting approach to finding a life partner , summmary: "There is a sad truth to the world today. I am part of a dying breed of people known as "shell users." ... Because there are fewer and fewer of us, I must help keep our lineage alive. I am looking for someone to help me do this. I need a woman (obviously) who is willing to raise a child with me in the method of Unix."."

6 of 503 comments (clear)

  1. Re:Don't live in the dark ages! by msuarezalvarez · · Score: 4, Informative

    A modern computing system is not one that is run from the DOS commandline

    The DOS command line did not run a modern computing system not even when it was first released.

  2. Re:hmmm... by rbowles · · Score: 5, Informative

    xargs does the trick nicely here (and most versions of find expect arguments after the pathname).

    # find ${SOMEPATH} -type f | xargs grep -i "${PATTERN}"

    --
    /* MAGIC THEATRE
    ENTRANCE NOT FOR EVERYBODY
    MADMEN ONLY */
  3. Re:his kids will tame him or suffer by daviddennis · · Score: 2, Informative

    Perhaps he really does understand children as a sort of fork();? That call, as it happens, does create an identical child process!

    This is an age-old problem and is not confined to computer geeks. Many fathers who want to "pass on their own line" have had similar problems.

    Geeks tend to be more flexible than that, though - more so in practice than in theory. We're talking theory here so we can start as we want and then adopt to conditions.

    I have to say he is truly looking at a tiny number of females likely to understand his ad and want to respond, though. And that is not meant as an insult to the wonderful geek females around - they are just 10% of the geek population!

    D

  4. Not again by Cheesey · · Score: 2, Informative

    Don't fuck a mounted filesystem, or you will fsck everything up! For fsck's sake, call umount before fucking.

    --
    >north
    You're an immobile computer, remember?
  5. Re:hmmm... by kbahey · · Score: 2, Informative

    How did this get a +5?

    You can do:

    $ find ${SOMEPATH} -type f -exec grep -i "${PATTERN}" {} \;

    Or:

    $ grep -r -i "${PATTERN}"

  6. Re:hmmm... by QuoteMstr · · Score: 2, Informative

    Actually, modern versions of find (including GNU and OS X find) support this syntax. (Yes, it's standard.)


    find "$PATH" -type f /bin/some-program {} +


    Which works like the old print0/xargs -0 combination.

    Also, ${FOO} is the same as $FOO. If you want to not cause whitespace-separated chunks to expand to multiple words, you must put the variable reference in double quotes.