Week 8, day 4 at RC
Today, I felt overwhelmed with planning and emailing. Some of the planning was not even work-related; I’m looking forward to reuniting with friends and family… I managed to book a (one-way) flight, which made me feel better about my progress. A few days ago, I booked a (round-trip) flight to Austin, TX to go to SciPy 2018. Go, me!
I have been meaning to report on my experience at the BUILD event earlier this month. So, I signed up to present today (at RC, every Thursday at 5:45pm, we enjoy a series of 5-minute presentations). I put together this short list of web pages and went through them. Thanks to this mini-presentation, I had the pleasure of meeting a Recurser who studied political science at WashU.
To keep it somewhere, let me paste below the sed
command that Casey and I
devised the other day:
sed -i "s/tags: \(.*\)/tags: [\1]/" *.md
The goal was to fix the non-array comma-separated syntax I used to use to add tags to these blog posts. It resulted in this changeset and, in the process, I learnt the following:
sed
differs in some ways between Unix variants (the above being GNUsed
);-i
stands for ‘in-place’;- the regex subpattern
inside
( )
is a capturing group; \1
is a backreference to the first (here, only one) capturing group.