From 61d4ef1418da17ada23f50d821e8a1576fc807dc Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sun, 16 Aug 2026 21:25:25 +0200 Subject: [PATCH] Record that extracting embedded data is free, unlike embedded code The blocklist move cleared update_android_hosts.sh in one step with no linter cost; the plagiarism checker's Python did the opposite. Same shape, very different price, so the doc now contrasts them directly. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY --- docs/shell-split-recipes.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/shell-split-recipes.md b/docs/shell-split-recipes.md index 8543759a..a43772b6 100644 --- a/docs/shell-split-recipes.md +++ b/docs/shell-split-recipes.md @@ -181,6 +181,22 @@ bash -c 'source ; declare -F | sed "s/declare -f //" | sort' Both gave an identical set (48 and 28 functions). Re-run it after **each** carve, not just at the end. +### Extracting embedded _data_ is free; embedded _code_ is not + +`update_android_hosts.sh` was 870 lines, of which 247 were a heredoc of hosts +entries. Moving that to `data/android_guardian_blocklist.hosts` and `cat`-ing +it cleared the file in one step, and a data file **attracts no linter**. + +Verify with a hash of the heredoc body against the extracted file: + +```bash +git show HEAD: