Skip to content

Commit 41dfa7c

Browse files
committed
Typos in README
1 parent 0f972c4 commit 41dfa7c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ On Windows:
3232
CONFIG is a relative (to current dir) or absolute path to config file
3333
containing list of input hosts files (default: 'adhosts2privoxy.conf'). More on
3434
config file in next section. Config file should have the same encoding as
35-
current locale one. ACTION_FILE is a relative (to current dir) or absolute path
36-
to resulting Privoxy action file (default: 'hosts.action'). Action file will be
35+
current locale. ACTION_FILE is a relative (to current dir) or absolute path to
36+
resulting Privoxy action file (default: 'hosts.action'). Action file will be
3737
written using current locale encoding. HOSTS_DIR is a relative (to current dir)
3838
or absolute path to directory where hosts files are located or will be
3939
downloaded to (defaults to current directory). You can specify absolute path
@@ -44,7 +44,7 @@ Built-in download functionality is good enough for most hosted hosts files on
4444
the web. It takes in account Content-Disposition and Content-Type headers,
4545
supports Internationalized Domain Names. But you can always specify local file
4646
path for hosts file in config, instead of URL, if you don't need to download
47-
anything or prefer to rely on external download utilities such Wget or Curl.
47+
anything or prefer to rely on external download utilities such as Wget or Curl.
4848

4949
When hosts file is processed by the script, it's hostnames (and aliases) become
5050
patterns for 'block' action in Privoxy action file. Multiple hostnames are
@@ -64,19 +64,19 @@ After processing it, resulting action file is similar to this:
6464
.ad2.foo.baz
6565

6666
Script algorithm skips malformed hosts entries or entries with "non-blocking"
67-
IPs. Only following IPs are cosidered "blocking": whole 127.0.0.0/8 network
67+
IPs. Only following IPs are considered "blocking": whole 127.0.0.0/8 network
6868
(incl. 127.0.0.1), 0.0.0.0, ::1, ::. Also, typical "loopback" and "localhost"
6969
hostnames are ignored.
7070

71-
Some of the defaults and pre-defined values, mentioned in this section, can be
71+
Some of the defaults and predefined values, mentioned in this section, can be
7272
easily changed in the script source code - they are all initialized in the very
7373
beginning of the script, hard to miss. Refer to the source code for more
7474
information on modifying defaults.
7575

7676
5. Configuration file
7777
---------------------
78-
Configuration file consists of any number sections, each corresponding to hosts
79-
file to be processed. Section starts with '[NAME]' header and followed by
78+
Configuration file consists of any number of sections, each corresponding to
79+
hosts file to be processed. Section starts with '[NAME]' header and followed by
8080
'VARIABLE: VALUE' or 'VARIABLE=VALUE' entries. Comment lines start with '#' or
8181
';', inline comments start with ';'. Possible VARIABLEs are: 'Url', 'File',
8282
'Keep' and 'Encoding'. Example config file:
@@ -96,8 +96,8 @@ should be set accordingly. In this example, hosts file will be downloaded from
9696
'http://foo.bar/adhosts.txt'.
9797

9898
'File' variable contains path where downloaded file will be saved or, in case
99-
of 'Url' is omitted, path to locally stored hosts file. 'File' variable is
100-
optional only when 'Url' is provided: in absebse of 'File' variable, hosts
99+
if 'Url' is omitted, path to locally stored hosts file. 'File' variable is
100+
optional only when 'Url' is provided: in absence of 'File' variable, hosts
101101
filename will be deduced from Content-Disposition header or web address itself.
102102
'File' contains relative or absolute path. Relative paths (this includes
103103
automatically deduced filenames of downloaded hosts files) are calculated
@@ -106,15 +106,15 @@ directory by default). In this example, downloaded hosts file will be saved in
106106
current directory under filename 'hosts'.
107107

108108
By default, after script finishes processing hosts file, it deletes it. To
109-
control this behaviour 'Keep' variable is used - if it translates to True
109+
control this behavior 'Keep' variable is used - if it translates to True
110110
(values '1', 'yes', 'true' and 'on'), file won't be deleted after being
111111
processed. If it translates to False (values '0', 'no', 'false' and 'off') or
112112
variable is omitted - default action takes place and file becomes deleted. In
113113
this example, hosts file won't be deleted after being processed.
114114

115115
Hosts files can have wide variety of encodings. So, when reading hosts file,
116116
script uses encoding specified in Content-Type header or in current locale, if
117-
Content-Type encoding is not availabe or when hosts file is stored locally.
117+
Content-Type encoding is not available or when hosts file is stored locally.
118118
Automatically selected hosts file encoding can be overridden with 'Encoding'
119119
variable. In this example, downloaded hosts file will be read using 'UTF-8'
120120
encoding.

0 commit comments

Comments
 (0)