Morse can be cheesy, but I thought it was a cultural reference that Americans may know. :-)
1,089 karma · joined March 1, 2007
C, Unix system and shell, Python, X Windows, ARM, ...
Morse can be cheesy, but I thought it was a cultural reference that Americans may know. :-)
$ wget -qO- http://www.gabrielweinberg.com/startupswiki/Ask_YC_Archive |
> egrep -o 'item\?id=[0-9]+' |
> sort -t= -k2nr |
> sed q
item?id=363096
$I hold it like a right-handed person would. http://blogs.suntimes.com/ebert/hand-holding-pen.jpg But mirror-imaged. Is it because these left-handers are set on the wrong path by right-handed teachers who don't know better?
This is wrong. Pressing Q in vi quits visual mode and returns you to ex(1). ex(1) precedes vi(1) and was an extended editor, based on ed(1). That's why the commands are similar, but not identical. And ed(1) isn't dead, it still is a command-line editor. :-)
} else if (...) {
line, repeat... To go the other direction, ^ moves you to the first non-white character, the close brace. ... | sort -nr | head
...may save tail(1) some work. ssh -T foo bash -i $ printf 'a[]b[c]d[ef][g[h]i\n' | sed 's/\[[^][]*]/-/g'
a-b-d-[g-i
$ ed
a
a[]b[c]d[ef][g[h]i
.
s/\[[^][]*]/-/g
p
a-b-d-[g-i
q
?
q
$ $ foo()
> {
> wget -qO- "${1?}" |
> sed -n '/.*title"/!d; s///; s/">.*//; s/.*"//p; q'
> }
$ cat <(foo 'http://news.ycombinator.com/item?id=1141971') \
> <(foo 'http://news.ycombinator.com/item?id=1523991') |
> uniq -c
2 http://www.4p8.com/eric.brasseur/gamma.html
$You can't get ./configure to prove this platform's mkdir is safe so testing for versions of mkdir you know are safe having seen their source seems reasonable.
Interesting dip come December and then a spurt that more than makes up for it in January. New year, new job?
Those slides are an interesting read generally if you're not familiar with CSP/Alef/Limbo-style programming, despite the crufty Occam syntax.