fn: sgnd_validate_text
Purpose
Check that a string is not empty.
Arguments
$1— Candidate text.
Returns
- 0 if nonempty (including whitespace-only strings); 1 otherwise.
Usage
sgnd_validate_text "Hello"

fn: sgnd_validate_text
Check that a string is not empty.
$1 — Candidate text. sgnd_validate_text "Hello"