FDD-book/content/chapters
Edson Brandi cf61c0ff27 Fixed the script to solve the issue reported at https://github.com/ebrandi/FDD-book/issues/2 by johnholloway77
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
2025-11-03 22:55:24 +00:00
..
part1 Fixed the script to solve the issue reported at https://github.com/ebrandi/FDD-book/issues/2 by johnholloway77 2025-11-03 22:55:24 +00:00
part2 docs(book): add Chapter 6 draft (Anatomy of a FreeBSD Driver) 2025-11-01 16:37:18 +00:00
part3 feat: Initial upload of FreeBSD Device Drivers Book structure 2025-08-04 09:14:49 -03:00
part4 feat: Initial upload of FreeBSD Device Drivers Book structure 2025-08-04 09:14:49 -03:00
part5 feat: Initial upload of FreeBSD Device Drivers Book structure 2025-08-04 09:14:49 -03:00
part6 feat: Initial upload of FreeBSD Device Drivers Book structure 2025-08-04 09:14:49 -03:00
part7 feat: Initial upload of FreeBSD Device Drivers Book structure 2025-08-04 09:14:49 -03:00