|
I'm looking for a method to grep for multiple atoms e.g. "foo" and "bar". I'm aware i can use
grep 'foo' file | grep 'bar'
to get both of them but i was wondering if there was a more efficient way. Any googleing seems to only throw results for an 'or'...
Started by Simon Rowsby on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
And, assuming the number of hits is small (in comparison to the number of lines of... .
:) Loading grep again is probably free due to caching at the file system level .
Egrep '(foo.*bar|bar.*foo)' # or grep -E '(foo.*bar|bar.*foo)'
This might be efficient .
|
|
On this entire planet, approximately how many atoms are there?
Started by CheeseDonkey on
, 17 posts
by 12 people.
Answer Snippets (Read the full thread at straightdope):
While I'm 170 (1.4965776766268445882405732687....
From Bruce Schneier's "Applied Cryptography", first edition.
From Bruce Schneier's) Number of atoms in the planet.
2 170 (1.4965776766268445882405732687015e+51) Number of atoms in the planet.
|
|
This kind of stuff is just amazing. Sure it currently needs to be kept at -450°f and can't store much more than the word "think," but that doesn't make it any less cool.
Quote: : The world’s smallest magnetic data storage unit is made of just 12 atoms...
Started by Steve on
, 20 posts
by 20 people.
Answer Snippets (Read the full thread at hardforum):
Worlds, modern hard disk drives use about a million....
|
Ask your Facebook Friends
|
I'm trying to learn Scheme from the book "The Little Schemer" using DrScheme on a Macintosh. It starts with things like "What is the car of l where l is the argument (a b c)?"
I understand that the answer to this question is a, but I'm not able to actually...
Started by Leonard on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
That's how....
Or, just use
(car '(a b c))
What the error is telling you is this: when the reader sees a list, it wants to treat the first element of the list as a function .
Try this:
(define l '(a b c))
Here, the quote applies to the whole list (a b c) .
|
|
Quote: : World's Smallest Memory Bit Stores Data Using Just 12 Atoms
The worlds smallest magnetic data storage unit is made of just 12 atoms, squeezing an entire byte into just 96 atoms, a significant shrinkage in the world of information storage. Its...
Started by KrossX on
, 14 posts
by 9 people.
Answer Snippets (Read the full thread at ngemu):
Or in fact, atom dividing beyond atoms (....
Right now, we are close to ones and zeros if you count atoms.
We are talking about atoms.
More than just one atom, though.
|
|
How many atoms in SiO2? I think that is is one silicon atom and two oxygen atoms, am I right?
Started by ? on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at yahoo):
There is two oxygen atoms bonded to a silicon atom in each molecule.
Yes that is correct.
|
|
Http://skeptics.stackexchange.com/qu...do-atoms-exist
Started by zerozero on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at projectcovo):
So...you don't think atoms exist? 99% of them are made from empty space.
|
|
Why are cations always smaller than the corresponding atoms?
Started by Cameron on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at yahoo):
Less electrons, so less repulsion, so electrons can get closer to the nucleus and are always smaller than their... .
So cations are always smaller than the corresponding atoms.
But in the corresponding atoms they don't have loosed any proton.
|
|
12 atoms and 1 bit what do you get?
IBM achieves highest data density: one bit in 12 atoms | Electronics News
No really what does this mean? How does it change the game?
Started by Slacker on
, 8 posts
by 4 people.
Answer Snippets (Read the full thread at tech-forums):
Re: 12 atoms and 1 bit what do you get an atom is It's incredible but currently too impractical to use :-( it will be years before hard drives will be commercially available Re:....
The amount of data that it could hold would be incredible .
|
|
A peptide bond occurs between which two atoms?
Started by Rackis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at yahoo):
Source(s): Essential Cell Biology (text) A peptide bond occurs between two... .
Peptide bonds are bonds formed between the Nitrogen atom of the amino terminus of one amino acid and the Carbon atom of the carboxyl terminus of another amino acid.
|