glen3b / dotnet-tee Goto Github PK
View Code? Open in Web Editor NEWA .NET implementation of a POSIX-like tee command
License: Apache License 2.0
A .NET implementation of a POSIX-like tee command
License: Apache License 2.0
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.
We need to implement the POSIX standard - specifically:
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.
Command line options, notably -a
, which appends to files instead of overwriting them, are not supported as they are in the GNU tee implementation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.