% brew install coreutils ;OSXのcsplitは挙動が違うのでgnuのをgcsplitという名前でインストールする % gcsplit -k -f note -b '%03u.org' notes.org '/^\* /' '{*}'