Skip to content

tothpaul/Delphi-Tee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Delphi tee

just a few Delphi lines to write a "tee" command.

  echo hello | tee hello.txt

or

  ConsoleProgram.exe | tee ConsoleProgram.log

This display the output on screen and log it into the provided filename

version 2:

  • supports multiple files
  • append is optional
  • help is provided (-h or /?)
Delphi Tee (c)2022 Paul TOTH <contact@execute.fr>
copy standard input to each file, and also to standard output

tee [-a] filename [filename...]

  -a    append to the given files instead of overwriting them

Made with Delphi Alexandria 11.2

(select Project/Show Source, to view the source)

About

Delphi tee command

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages