dataviz/scripts/concat.sh

18 lines
515 B
Bash
Raw Permalink Normal View History

2021-04-10 22:10:25 +00:00
cp -r docs/img build
cp docs/epub.css build
2021-04-11 12:56:38 +00:00
cp docs/pdf.css build
2021-04-10 22:10:25 +00:00
cat \
2021-04-11 12:56:38 +00:00
docs/00-title.md \
2021-04-10 22:10:25 +00:00
docs/01-say.md \
docs/02-structure.md \
docs/04-express.md \
docs/05-simplify.md \
docs/06-condense.md \
docs/07-check.md \
docs/09-unify.md \
2021-04-11 12:56:38 +00:00
docs/10-epilogue.md \
2021-04-10 22:10:25 +00:00
> build/data-visualization-guide.md
cd build
sed -E -e 's/docs\///g' -i '' data-visualization-guide.md
sed -E -e 's/^.+(←|→).+$/ /g' -i '' data-visualization-guide.md
sed -E -e 's/[0-9]+-[a-z]+\.md//g' -i '' data-visualization-guide.md