Re: question about bash-completion and gzip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/8/05, hpt <hanpingtian@xxxxxxxxx> 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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux