mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
THis fix make the script fully POSIX-compliant for FreeBSD /bin/sh Replace bash-specific `read -d ''` with tmpfile approach. The -d option is not available in POSIX sh, causing the script to fail on FreeBSD systems. - Use tmpfile=$(mktemp) instead of null-delimited pipe - Add trap for cleanup - Remove -print0 and read -d '' options - Add empty filename safety check Fixes: read: Illegal option -d |
||
|---|---|---|
| .. | ||
| chapter-01.md | ||
| chapter-02.md | ||
| chapter-03.md | ||
| chapter-04.md | ||
| chapter-05.md | ||
| chapter-06.md | ||