Giter VIP home page Giter VIP logo

dotnet-tee's People

Contributors

glen3b avatar

Watchers

 avatar

dotnet-tee's Issues

Fix termination signal ignorance

Currently, -i will also cause the code to ignore EOF and otherwise change behavior to be glitchy. We are aiming to be POSIX compliant using GNU tee as our reference implementation.

Fix POSIX compliance

We need to implement the POSIX standard - specifically:

  • Localization support
  • Polishing off argument syntax
  • More POSIX-y error messages
  • Ensuring more subtle POSIX compliance (e.g. IO)

Program crashes upon attempting to write to file to which it has no access

If a file argument is passed and the program has no rights to write to that file, it crashes with a lethal exception. The GNU tee implementation will exit an error code, but will write to every location it can (in addition to printing a warning). Example of GNU tee:

[glen@UltimateBuilder ~]$ echo apples | tee /root/appleData appleData
tee: /root/appleData: Permission denied
apples
[glen@UltimateBuilder ~]$ echo $?
1
[glen@UltimateBuilder ~]$ cat appleData 
apples

We should aim to behave like this as it is better in every respect - more error tolerant but still unambiguously erroring out.

Allow options like appending to files

Command line options, notably -a, which appends to files instead of overwriting them, are not supported as they are in the GNU tee implementation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.