question about bash-completion and gzip

Tim Waugh twaugh at redhat.com
Fri Sep 9 21:40:56 UTC 2005


On Fri, Sep 09, 2005 at 03:27:43PM -0500, John Mahowald wrote:

> On 9/8/05, hpt <hanpingtian at gmail.com> wrote:
> > I think that the bash-completion would allow the gzip to complete a file
> > name which doesn't end with ".gz", for example a file named "gzipfile"
> > while the gzip's options is "-dc".  Because when use "-dc", gzip dosen't
> > care about the file name's suffix.
> > 
> I don't get what you mean. bash tab completion fills in commands on
> your path and existing files from what you typed so far. gzip doesn't
> care about extensions, I could compress something and call it
> file.foo, and the file command would still know it's gzip compress and
> gunzip would decompress it.

The original poster is talking about the bash-completion RPM package.
See this month's Red Hat Magazine, which mentions it:

http://www.redhat.com/magazine/010aug05/features/extras/#bash-completion

Tim.
</plug>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050909/f99a5778/attachment-0002.bin 


More information about the users mailing list