trim_string () ( x=${1%[:space:]} return ${x#[:space:]} )
At least, I think that would work.
On Windows, forking is expensive, so I wouldn't do it this way.
At least, I think that would work.
On Windows, forking is expensive, so I wouldn't do it this way.