FDD-book/content/chapters/part1
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
..
chapter-01.md Fixing markdown to convert to pdf 2025-08-30 22:30:50 +01:00
chapter-02.md Fixing markdown to convert to pdf 2025-08-30 22:30:50 +01:00
chapter-03.md Fix subshell variable scope issue in file counting scripts 2025-11-07 21:53:51 +00:00
chapter-04.md Fixed minor errors found during an adhoc review 2025-11-07 18:42:06 +00:00
chapter-05.md Fixed markdown issue that was generating error in pdf conversion, i missed some lines in the previous commit 2025-10-27 20:49:34 +00:00
chapter-06.md docs(book): add Chapter 6 draft (Anatomy of a FreeBSD Driver) 2025-11-01 16:37:18 +00:00