wjuszczyk
edfe6d9735
Fix wildcards (globbing) ls output typo.
2026-04-27 17:41:23 +02:00
Edson Brandi
f92af5b969
docs: complete initial draft of all content for my FreeBSD Device Drivers: From First Steps to Kernel Mastery book.
...
After 10 months of daily work, the first full draft of the book is now complete.
2026-04-22 18:57:42 +00:00
Edson Brandi
712daf6c49
Fix subshell variable scope issue in file counting scripts
...
The count variable was not being updated because the while loops were
running in subshells created by the pipe operator. Variable assignments
in subshells don't affect the parent shell, causing count to remain 0.
Changes:
- list_files.sh: Changed from pipe to here-document with command
substitution to keep the while loop in the main shell
- list_files_bash.sh: Changed from pipe to process substitution using
< <(...) syntax to avoid subshell creation for the while loop
Both scripts now correctly display the total number of files found.
2025-11-07 21:53:51 +00:00
Edson Brandi
920d4fa330
Adjusted the Wrapping up Sections to better reflect the actual chapter content after the adition of new section about shell portability
2025-11-05 21:46:40 +00:00
Edson Brandi
b001b9aa28
Update chapter-03.md to fix wrapping up section position
...
Adjusted the position of wrapping up section for the shell section.
2025-11-04 23:10:37 +00:00
johnholloway77
98204d3d9f
incorporated section on shell portability
2025-11-04 14:53:47 -07:00
Edson Brandi
f4c2a92c61
Merge pull request #5 from johnholloway77/feature/at-command-revision
...
Added instructions for at.allow
2025-11-03 23:58:30 +00:00
johnholloway77
b6605cc603
Added instructions for at.allow
2025-11-03 16:51:04 -07:00
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
Edson Brandi
5e9d9147d1
Fixing markdown to convert to pdf
2025-08-30 22:30:50 +01:00
Edson Brandi
c7c27ffb17
adding description to the .md file header
2025-08-23 17:03:44 +01:00
Edson Brandi
db2c220017
fixing typos...
2025-08-23 16:52:39 +01:00
Edson Brandi
a4af37ac03
Adding content for chapter 3, and small typo fix in chapter 4
2025-08-23 16:34:36 +01:00
Edson Brandi
539ef021f8
feat: Initial upload of FreeBSD Device Drivers Book structure
...
This commit establishes the complete foundation for the FreeBSD Device Drivers Book project.
## 📚 Book Structure
- **7 Parts** covering the complete driver development journey
- **38 Chapters** with detailed metadata and placeholders
- **5 Appendices** for reference materials
- **Portuguese (Brazil) translation** structure ready
## 🗂️ Directory Organization
- - Main book content with chapters and appendices
- - Source code examples with comprehensive README
- - Utility scripts for content management
- - Multi-language support structure
## 🛠️ Key Features Added
- **Content Management Scripts**:
- - Sync content to website directory
- - Set up new language translations
- **Examples Documentation** - Complete README with build instructions
- **Translation Infrastructure** - Ready for multiple languages
## 📖 Content Overview
- **Part 1**: Foundations (FreeBSD, C, Kernel basics)
- **Part 2**: Basic Driver Development
- **Part 3**: Concurrency and Synchronization
- **Part 4**: Hardware and Platform Integration
- **Part 5**: Debugging, Tools, and Real-World Practices
- **Part 6**: Transport-Specific Drivers
- **Part 7**: Mastery Topics and Edge Cases
2025-08-04 09:14:49 -03:00