Le 25/02/2020 à 14:04, Thomas Seeling via blfs-support a écrit :
> Hallo,
> 
>> There is this:
>> ---
>> sed -e 's/"(\\S+)"/"?([^\\s"]+)"?/' \
>>     -i scripts/update-leap/update-leap.in
>> ---
>> Doesn't this is enough?
> 
> yes, I stand corrected, there is a fix, but it is defect as I noticed.
> It replaces \S+ with \s+ which mean exact opposite things.

It replaces \S+ with [^\s"]+

> 
> \S is "any non-white-space"
> \s is "any white space"

[^\s"] means "anything which is not a space or a double-quote"

Anyway, the double quotes should be in the config file, so the sed is not 
needed.

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to