Usage: trim [-left|-right] [-what trimchars] [file...] Trim deletes leading and/or trailing whitespace from each line of of each file named on the command line (default stdin). The result is printed to stdout. Options: -------- -left only trim the left side (ie, leading whitespace). -right only trim the right side (ie, trailing whitespace). -what sss Trim the characters listed in in sss, instead of whitespace. -nnn Truncate line to nnn characters, after trimming is done. -nnnw Truncate line to nnn screen widths, after trimming is done.