fn: sgnd_header_read
Purpose
Extract the initial contiguous comment header from a source file.
Description
Skips an initial shebang and blank lines; stops at the first non-comment line after the header.
Arguments
$1— Readable source filename.
Output
Writes the comment header without the final newline.
Returns
- 0 after printing the header; 1 if the file is unreadable.
Usage
sgnd_header_read "$SGND_FRAMEWORK_ROOT/usr/local/lib/solidgroundux/common/sgnd-core.sh"
