Command Line Life Partner Wanted 503
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."."
Re:Don't live in the dark ages! (Score:5, Informative)
The DOS command line did not run a modern computing system not even when it was first released.
Re:hmmm... (Score:5, Informative)
# find ${SOMEPATH} -type f | xargs grep -i "${PATTERN}"
Re:his kids will tame him or suffer (Score:3, Informative)
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
Not again (Score:3, Informative)
Re:hmmm... (Score:3, Informative)
You can do:
$ find ${SOMEPATH} -type f -exec grep -i "${PATTERN}" {} \;
Or:
$ grep -r -i "${PATTERN}"
Re:hmmm... (Score:3, Informative)
find "$PATH" -type f
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.