#!/usr/bin/env bash # usage: ./make-svg.sh 123 → creates 123.svg in the current directory NUM=$1 # the number (or any text) you want inside the SVG OUT="${NUM}.svg" # name the file after the number (change if you wish) # --- 1️⃣ Write the SVG XML directly ------------------------------------------------ printf '%s\n' \ '' \ '' \ ' ' \ ' ' \ "$NUM" \ ' ' \ '' > "$OUT" echo "✅ SVG written to $OUT"