Re: Is there a way to gzip the temp file used by `sort`?

2019-07-01 Thread Stephane Chazelas
2019-07-01 10:44:59 -0500, Peng Yu:
[...]
> The temp files used by `sort` are not gzipped. Is there a way to use
> gzip to save the space used by the temp files? Thanks.
[...]

$ sort --help
[...]
  --compress-program=PROG  compress temporaries with PROG;
   decompress them with PROG -d

-- 
Stephane




Re: Is there a way to gzip the temp file used by `sort`?

2019-07-01 Thread Ed
On 2019-07-01 10:44-0500, Peng Yu wrote:
> Hi,
> 
> The temp files used by `sort` are not gzipped. Is there a way to use
> gzip to save the space used by the temp files? Thanks.

Did you try --compress-program=gzip?

-- 
Best regards,
Ed http://www.s5h.net/




Re: Is there a way to gzip the temp file used by `sort`?

2019-07-01 Thread Peng Yu
Thanks. Does this option affect the -m option? Thanks.

On 7/1/19, Ed  wrote:
> On 2019-07-01 10:44-0500, Peng Yu wrote:
>> Hi,
>>
>> The temp files used by `sort` are not gzipped. Is there a way to use
>> gzip to save the space used by the temp files? Thanks.
>
> Did you try --compress-program=gzip?
>
> --
> Best regards,
> Ed http://www.s5h.net/
>
>


-- 
Regards,
Peng



Is there a way to gzip the temp file used by `sort`?

2019-07-01 Thread Peng Yu
Hi,

The temp files used by `sort` are not gzipped. Is there a way to use
gzip to save the space used by the temp files? Thanks.

-- 
Regards,
Peng