It's not equivalent. In a CRT the "image" only appears when the ray passes a certain pixel, the pixel then goes more or less black. In a LCD the pixels are shining all the time, and then suddenly changes color.
The effect of this is that the brain interpolates better on a CRT, when the pixel is black the brain fills the void. This does not happen as well on LCD, which is why we need much higher refresh rates on LCD's to get the same impression.
This command finds all directories with
svn status | grep "\.cmd" | cut -b8- | cut -d. -f1 | sort | uniq | xargs svn propset svn:ignore '.*.cmd'
Ok, I reallt needed a bash command that could list the index of every occurance of a pattern in a file. I found this one-liner before:
perl -0777 -ne 'print index $_, "\x5d\x00\x00\x80\x00\x00"' afile.bin
This locates the first LZMA header in a file, but I need to find ALL headers, not just the first... Ok, I'm no perl specialist, but I came up with this:
#!/usr/bin/perl
use strict;
use warnings;
No, regular expressions can not capture the complexity of that formula since it's an algorithm without memory, but with a finite set of numbers the can describe every possible match. You'll end up with a regex that incredibly long though, e.g. for 3 digits:
^0(12|23|31|47|51|69|74|83|92|01)|1(12|23|31|47|51|69|74|83|92|01)... (etc)
(It will be 5 times longer in total and the last digits aren't the correct one, it's only for showing the principle)
So it's possible but impractical.
New York... when civilization falls apart, remember, we were way ahead of you. - David Letterman