a simple awk trim function emulation

function trim(_string_) { _nullo=gsub(/^ /,””,_string_)+gsub(/ $/,””,_string_); return (_string_); }