Re: [PATCH] Add new program: magic

2008-04-10 Thread Pádraig Brady
Matthew Woehlke wrote: [EMAIL PROTECTED] wrote: | So far, it includes the following utilities: | - sponge: soak up standard input and write to a file Eh? That sounds like 'cat file'... I was wondering that too. It basically buffers the file in mem so that one can modify a file through a

Re: [PATCH] Add new program: magic

2008-04-10 Thread Bo Borgerson
On Wed, Apr 9, 2008 at 9:48 PM, Bob Proulx [EMAIL PROTECTED] wrote: I like this sort of general purpose utility that can work with a broad set of things much better than hacks to every utility. It is definitely a better direction. But I don't like the name. The name is too generic and

[PATCH] Add new program: magic

2008-04-09 Thread Bo Borgerson
0a16d0698590f137e04c8351f8f14383147e827f Mon Sep 17 00:00:00 2001 From: Bo Borgerson [EMAIL PROTECTED] Date: Sun, 6 Apr 2008 17:54:08 -0400 Subject: [PATCH] Add new program: magic * AUTHORS: Register as the author. * NEWS: Advertise new program. * README: List new program. * doc/coreutils.texi: Describe new program. * man

Re: [PATCH] Add new program: magic

2008-04-09 Thread Bob Proulx
Bo Borgerson wrote: As I thought more about this functionality I realized that it may be more broadly useful. Any utility that can operate on multiple input files could benefit. I wondered if it would be possible in a non-invasive way to provide this service to other tools. This is what I

Re: [PATCH] Add new program: magic

2008-04-09 Thread no-spam
Hi Bo, As I mentioned last week, I've patched my local `sort' to allow automatic decompression of input files if an option, --magic-open, is passed on the command line. As I thought more about this functionality I realized that it may be more broadly useful. Any utility that can operate on

Re: [PATCH] Add new program: magic

2008-04-09 Thread Matthew Woehlke
[EMAIL PROTECTED] wrote: | So far, it includes the following utilities: | - sponge: soak up standard input and write to a file Eh? That sounds like 'cat file'... -- Matthew Look! A randomly selected yet highly appropriate signature! ___

Re: [PATCH] Add new program: magic

2008-04-09 Thread Brock Noland
On Wed, Apr 9, 2008 at 8:52 PM, Matthew Woehlke [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: | So far, it includes the following utilities: | - sponge: soak up standard input and write to a file Eh? That sounds like 'cat file'... So you can read from and write to an existing