Re: [PATCΗ] Quoted values in squid.conf

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 27 May 2013 10:12:40 -0600

On 05/27/2013 04:54 AM, Tsantilas Christos wrote:
> On 05/26/2013 10:05 PM, Kinkie wrote:
>>>> The only thing I would like to see differently implemented is the
>>>> syntax used to include files:
>>>> file(path) would be IMO easier to understand and less prone to
>>>> confusion than the proposed syntax.
>>>
>>> OK.
>>> But imagine in the future also the following syntax:
>>> file:/path/file
>>> system:/usr/local/squid/bin/my-squid-conf (to read from an executable
>>> stdout configuration options)
>>> http://hostname/cfgfile (to get from web page configuration)
>>>
>>> All the above can be implemented in the future...
>>
>> Sure, I agree.
>>
>> file(/path/file)
>> system(/some/executable)
>> http_get(http://hostname/file)
>
> Well, this is not a bad scheme :-)
>
> Just the file:/path/to/file a little easier to implement. But not
> something important...

I agree that file() is a good alternative. Amos (and others), do you
have a preference between

  file:"/path/file"

and

  file("/path/file")

syntax?

Thank you,

Alex.
Received on Mon May 27 2013 - 16:12:45 MDT

This archive was generated by hypermail 2.2.0 : Fri May 31 2013 - 12:00:14 MDT