Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

TrimFile

Delphi Application to remove trailing and leading whitespace from text files

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

TrimFile

Delphi Application to remove trailing and leading whitespace from text files

Usage

pascal
TrimFile.exe [OPTION] [input-file]

The following parameters are availible

  • -stdout Print the result to StdOutput instead of saving it to the file
  • -stdin Read from StdInput instead from file
  • -trimleft Removes all leading whitespace
  • -trimright Removes all trailing whitespace
  • -trimboth Short for -trimleft -trimright

As long as one of -stdout or -stdin is missing, a filename has to be given.

TrimFile homepage: https://github.com/wendelb/TrimFile

Please report any issues you encounter at the issue tracker.

(c) by Bernhard Wendel, 2014