Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

Entries from 2015-06-18 to 1 day

Pro Git 2nd Edition翻訳時の初版(Markdown)流用方法

csplit 01-chapter8.markdown '/^## /' {*}で元々のMarkdownを節ごとに分解したら、ファイル名を2nd Editionに合わせて変更し、その上で以下のように役物を変換する。 grep -l '’' ./* | xargs sed -i.bak -e 's/’/'\''/g' grep -l ' "' ./* | xargs sed -i.…