Drake
|
9921ad5cff
|
all: change main funcs to respectively named ones
first big change to help with moving to a single binary :)
|
3 years ago |
Drake
|
38705fa09b
|
`cat`: close file descriptor in `concatFileToStdoutWithOptions`.
otherwise, it was causing memory leaks.
|
3 years ago |
Drake
|
389dbcda7c
|
`cat`: add `--show-line-ends`.
|
3 years ago |
Drake
|
1567e63152
|
`cat`/file.h: move `concatFileToStdout` func to file.h.
another thing i figure may be somewhat needed.
|
3 years ago |
Drake
|
6f27014976
|
`cat`: remove pointless checking after running concatFileToStdout.
it didn't even seem to work properly anyways.
|
3 years ago |
Drake
|
2f14fffd5c
|
All: add license comment.
also: change ansi implementation to be slightly less copyright-infringing.
|
3 years ago |
Drake
|
75be2b920a
|
`cat`: allow concatenating multiple files.
previously the `concatenating` in the help message meant concatenating to stdout :p
|
3 years ago |
Drake
|
9b124c9cfb
|
`cat`/Makefile: add `cat`.
i thought this would be alot harder to implement, lol.
supports reading from stdin (including pipes) and files.
big dab moment.
|
3 years ago |