Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple program to execute a command and write its output to a file and the standard output.

tree: b4e9c87e0f

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 mintee.lpr
Octocat-spinner-32 mintee.svg
README.md

Mintee

Mintee (minimal tee) is a simple program to execute a command and write its output to a file and the standard output. It kinda works like the Unix tee program, with the exception that only one file can be used to write the output.

Mintee concept of operation

Build instructions

The FPC compiler (2.6+) is necessary to compile the source code - it can be downloaded from http://www.freepascal.org/download.var.

To compile mintee, open a command-line window and change the directory to the one where mintee.lpr is located. Then give:

fpc mintee.lpr

This should produce the mintee executable.

Usage

mintee [OPTIONS] [FILE]
Copy standard input to FILE, and also to standard output.

    -a, --append              append instead of overwriting files
    -c <cmd>, --command=<cmd> execute command <cmd> and read from its output instead of stdin
    --no-stdout               do not write to stdout

License

Distributed under the terms of the MIT license. Copyright © 2012 Georgios Migdos.

Something went wrong with that request. Please try again.