logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zrun - automatically uncompress arguments to command

Author

       Copyright 2006 by Chung-chieh Shan <ccshan@post.harvard.edu>

moreutils                                          2024-02-25                                            ZRUN(1)

Bugs

       Modifications to the uncompressed temporary file are not fed back into the input file, so using this as a
       quick way to make an editor support compressed files won't work.

Description

       Prefixing a shell command with "zrun" causes any compressed files that are arguments of the command to be
       transparently uncompressed to temp files (not pipes) and the uncompressed files fed to the command.

       This is a quick way to run a command that does not itself support compressed files, without manually
       uncompressing the files.

       The following compression types are supported: gz bz2 Z xz lzma lzo

       If zrun is linked to some name beginning with z, like zprog, and the link is executed, this is equivalent
       to executing "zrun prog".

Name

       zrun - automatically uncompress arguments to command

Synopsis

       zrun command file.gz [...]

See Also