Re: [Dorset] Use of cat to concatenate .gz files

2011-01-17 Thread Simon P Smith
On 17/01/2011 12:30, d-...@hadrian-way.co.uk wrote: I just spotted this http://en.wikipedia.org/wiki/Cat_%28Unix%29#Binary_use. Is this working because the .gz file is treated as a binary? Cat cares not one jot the file format, it just sticks the bits together AFAIK. As I said

Re: [Dorset] Use of cat to concatenate .gz files

2011-01-17 Thread Ralph Corderoy
Hi Terry, Now my understanding of cat goes back to a noddy Unix course about 15-20 years ago, but I always thought the 'cat' stood for 'catalogue' and was used to list the content of a text file. Having looked at http://unixhelp.ed.ac.uk/CGI/man-cgi?cat though, I now know that it stands

Re: [Dorset] Use of cat to concatenate .gz files

2011-01-17 Thread Terry Coles
On Monday 17 Jan 2011, Ralph Corderoy wrote: Now my understanding of cat goes back to a noddy Unix course about 15-20 years ago, but I always thought the 'cat' stood for 'catalogue' and was used to list the content of a text file. Having looked at http://unixhelp.ed.ac.uk/CGI/man-cgi?cat

Re: [Dorset] Use of cat to concatenate .gz files

2011-01-17 Thread Tim Allen
On 17/01/11 17:22, Terry Coles wrote: On Monday 17 Jan 2011, Ralph Corderoy wrote: Now my understanding of cat goes back to a noddy Unix course about 15-20 years ago, but I always thought the 'cat' stood for 'catalogue' and was used to list the content of a text file. Having looked at

Re: [Dorset] Use of cat to concatenate .gz files

2011-01-17 Thread Victor Churchill
On 17 January 2011 18:01, Tim Allen t...@ls83.eclipse.co.uk wrote: On 17/01/11 17:22, Terry Coles wrote: I never even knew that catenate was a word ;-) It means the same as concatenate :) Tim Moi non plus. I had always assumed that 'cat' was a perverted short-form of 'concatenate' and

Re: [Dorset] Use of cat to concatenate .gz files

2011-01-17 Thread Ralph Corderoy
Hi Tim, I never even knew that catenate was a word ;-) It means the same as concatenate :) But it might make more sense to people, be more mnemonical, if its proper name of catenate was used. Then we wouldn't have things like I thought it stood for catalogue. :-) dict(1) says L.

Re: [Dorset] Use of cat to concatenate .gz files

2011-01-17 Thread Dan Dart
cat works with mpg files too: cat file1.mpg file2.mpg file3.mpg file3.mpg is a valid mpg file! -- Next meeting: Bournemouth, Tuesday 2011-02-01 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue