fn: sgnd_trim
Purpose
Trim whitespace from both ends of a string.
Arguments
$@— Words to trim, joined by spaces.
Output
Prints trimmed text without a newline.
Returns
- 0 after printing.
Usage
sgnd_trim " hello world "

fn: sgnd_trim
Trim whitespace from both ends of a string.
$@ — Words to trim, joined by spaces.Prints trimmed text without a newline.
sgnd_trim " hello world "