[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Allow tar to use command for compressing consisiting of mu
From: |
Pavel Raiskup |
Subject: |
Re: [Bug-tar] Allow tar to use command for compressing consisiting of multiple words. |
Date: |
Wed, 30 Jan 2013 14:43:42 +0100 |
On Tue, 2013-01-29 at 14:16 -0800, Paul Eggert wrote:
> On 01/29/13 08:19, Pavel Raiskup wrote:
>> Simple speaking, we need some function like:
>>
>> char ** string_to_argv(const char *str);
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> I was unable to find existing solution in gnulib, is there something like
>> that?
>
> There is lib/prepargs.c in GNU tar. We could turn something
> like that into a gnulib module, but if only tar needs it perhaps
> it should just stay with GNU tar.
I forgot to CC bug-tar. Sorry.
>>> On 01/29/13 08:19, Pavel Raiskup wrote:
>>>> Simple speaking, we need some function like:
>>>>
>>>> char ** string_to_argv(const char *str);
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>> I was unable to find existing solution in gnulib, is there something like
>>>> that?
>>>
>>> There is lib/prepargs.c in GNU tar. We could turn something
>>> like that into a gnulib module, but if only tar needs it perhaps
>>> it should just stay with GNU tar.
>>
>> Perfect, I completely overlooked this one. Could I look at this problem
>> and prepare patch?
On Tue, 2013-01-29 at 22:11 -0800, Paul Eggert wrote:
>On 01/29/2013 09:59 PM, Pavel Raiskup wrote:
>> Could I look at this problem
>> and prepare patch?
>
> Sure, feel free!
Proposing patch in attachment, thanks for comments!
Pavel
0001-Allow-the-use-compress-program-option-to-have-argume.patch
Description: Text Data