| dog | ||
| dog.1 | ||
| README.md | ||
dog
dog is a reimplementation of dog by Jason Cohen and Jacob Leverich, because theirs has gone defunct and does not support HTTPS. dog writes the contents of each given file, URL, or the standard input if none are given or when a file named '-' is given, to the standard output. It currently supports the file, and http(s) types. It is designed as a compatible, but enhanced, replacement of cat(1). This version of dog does not support all the options of the original dog implementation, but likely supports most of the options anyone used.
This version of dog also supports some options the original did not:
-
-f, --format html/text/json/yaml/xml (HTTP(S)-only) Sends an "Accept" header appropriate to receive content in the specified format. The sender must support the requested format.
-
-g, --user-agent Send specified User-Agent (ie: dog/1.0.0).
-
-H, --header Sends specified header. Argument may be given more than once.