Rdb: Ruby-Nachbau der MWC /rdb-Werkzeuge

This commit is contained in:
wkh
2026-10-11 20:33:17 +02:00
commit a9990169e9
308 changed files with 16738 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
.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