<< February 27, 2007 >>
I CALLED IT
It made me wonder, "what if the governor of Massachusetts ran for president?" Would we have the "Big Dig Across America"? That would be pretty boss.
-- me in 2000
wednesday night / a site for sore eyes
choose one:
a few recent posts;
links to embarassing things;
rss was for robots.
<< February 27, 2007 >>
I CALLED IT
It made me wonder, "what if the governor of Massachusetts ran for president?" Would we have the "Big Dig Across America"? That would be pretty boss.
-- me in 2000
<< February 27, 2007 >>
don't even start it up
today is looking like one of those days.
the actual problem is almost so far removed from where i am right now, i can barely recall the software it's in, excepting that i am so angry at it i'll never forget it. nevertheless, it will remain nameless.
suffice it to say, it of course has directories which have spaces in their name (i couldn't find a link to some jamie rant about that), which of course breaks my cscope stuff which i rely on extensively to spelunk code i didn't write. which is to say, always.
so i decided to fix it! here's a patch to shaver's cscope-indexer script, for everyone that has been fortunate to work with someone from cfs:
--- /home/jacob/bin/cscope-indexer~ 2006-12-20 17:02:36.000000000 -0500 +++ /home/jacob/bin/cscope-indexer 2007-02-27 11:28:52.000000000 -0500 @@ -138,7 +138,7 @@ fi fi ) | \ egrep -i '\.([chly](xx|pp)*|cc|hh|js|py)$' | \ - sed -e '/\/CVS\//d' -e '/\/RCS\//d' -e 's/^\.\///' | \ + sed -e '/\/CVS\//d' -e '/\/RCS\//d' -e 's/^\.\///' -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/\(.*\)/"\1"/' | \ sort > $LIST_FILE if [ "X$VERBOSE" != "X" ]
(summary: escape \ and " with \ then enclose line with "s)
of course, this didn't work either since i'm the first person to ever imagine trying to do this; cscope 15.5 has some bug blah blah make sure you have cscope 15.6 etc.
at least it's lunch time.
<< February 27, 2007 >>
a refreshing change
oh, and did anyone catch sunset 60 last night? with the new characters and plots it's like a "the departed: the college years." congratulations and kudos, sorkin, you've proven me wrong once again!