.TH trimblank "" "" "/rdb Command" .PC "Remove leading and trailing blanks from a string" \fBtrimblank [\fIstring\fB] [ < \fIfile\fB ]\fR .PP .II "string^trim white space" .II "white space^trim from string" The command .B trimblank trims all white-space characters from the beginning and end of .IR string . This is useful in shell programming, in which you need to trim white space from a string that has been padded (justified) with space characters. .SH Example The command .DM echo ' here is the good stuff ' | trimblank .DE .PP prints: .DM here is the good stuff .DE .SH "See Also" .B compresss, justify, trim .R