unix - (t)csh: how to "source" a gzip compressed text file? -
i looking unix command enables "source" text in gzip
compressed text file.
if explanation not clear enough, mean command first unzips file , runs original command on it, zgrep
, zcat
, zless
, etc. do
thanks!
elaborating shellter's approach, use
eval `gunzip -c file2source.gz|tr \\n \;`
for simple scripts. (i simple because command lines in file concatenated 1 line.)
other that,
to unzip real file, , source that,
seems way.
Comments
Post a Comment