# Extrahiert aus Python-Notebooks alle mittels Drag&Drop inkludierten Bilder. awk ' /"attachments"/ { getline; gsub(/[":]/,"",$1) file=$1; getline; gsub(/^[^:]*: "/, "") sub(/"/, "") system("echo " $0 " | base64 -d > _build/latex/attachment:"file) }' *.ipynb