![](https://seccdn.libravatar.org/avatar/78a7479309bd77a4e35763923b6f21ba.jpg?s=120&d=mm&r=g)
Randall R Schulz wrote:
Donn,
On Saturday 23 October 2004 15:47, you wrote:
Binary files - are you sure?
Of course. There are only files on Unix (or Solaris or Linux, etc.). There are no "text files" fundamentally distinct form "binary files." Just files.
In its default mode of operation, "cat" does not in any way alter the contents of the files it reads. It quite literally just concatenates them.
Another thing newbies don't realize about cat is that unlike "type" in the dos world, it will blast data to devices if you wish. To Donn: try cat something.au > /dev/audio like so: cat torvalds-says-linux.au > /dev/audio Also check out "dog" DESCRIPTION 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, http, and raw URL types. It is designed as a compatible, but enhanced, replacement of cat(1). -- Dan