Skip to content

Commit 2fb7187

Browse files
authored
fix spacecheck nits (#570)
Verified OK to not change PDF output.
1 parent 8274e89 commit 2fb7187

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+48
-83
lines changed

LICENSE

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ exhaustive, and do not form part of our licenses.
3333
material not subject to the license. This includes other CC-
3434
licensed material, or material used under an exception or
3535
limitation to copyright. More considerations for licensors:
36-
wiki.creativecommons.org/Considerations_for_licensors
36+
wiki.creativecommons.org/Considerations_for_licensors
3737

3838
Considerations for the public: By using one of our public
3939
licenses, a licensor grants the public permission to use the
@@ -49,8 +49,8 @@ exhaustive, and do not form part of our licenses.
4949
such as asking that all changes be marked or described.
5050
Although not required by our licenses, you are encouraged to
5151
respect those requests where reasonable. More_considerations
52-
for the public:
53-
wiki.creativecommons.org/Considerations_for_licensees
52+
for the public:
53+
wiki.creativecommons.org/Considerations_for_licensees
5454

5555
=======================================================================
5656

@@ -393,4 +393,3 @@ the avoidance of doubt, this paragraph does not form part of the
393393
public licenses.
394394

395395
Creative Commons may be contacted at creativecommons.org.
396-

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ $(OUT): mkindex.pl Makefile index-words $(IMDS)
88
@echo "generates $(OUT)"
99
@perl mkindex.pl $(IMDS) > $(OUT)
1010

11-
mdcheck:
11+
mdcheck:
1212
@./checkmd $(MDS)
1313

14-
check:
14+
check:
1515
@proselint $(MDS)
1616

17-
wordcheck:
17+
wordcheck:
1818
@./mgrep $(MDS)
1919

2020
fixup:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ reports and why millions of existing users use it.
88

99
This book is meant to be interesting and useful to both casual readers and
1010
somewhat more experienced developers. It offers something for everyone to pick
11-
and choose from.
11+
and choose from.
1212

1313
Do not read this book from front to back. Read the chapters or content you are
1414
curious about and flip back and forth as you see fit.

build/cmake.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ To create a subdirectory for the build and run make in there:
2727
cd build
2828
cmake ..
2929
make
30-

build/separate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ It can look like this when you have installed your new curl build in
5959

6060
export LD_LIBRARY_PATH=$HOME/install/lib
6161
$HOME/install/bin/curl https://example.com/
62-
62+
6363
### `rpath`
6464

6565
Often, a better way to forcibly load your separate libcurl instead of the

checkmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ sub check {
2929
}
3030
}
3131

32-
3332
if($next_line_should_be_blank) {
3433
if(! ($line =~ m/^[\s]*$/)) {
3534
error($f, $line, $l, "The line after a '#' header should be blank.");

cmdline/configfile.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ Enter one command per line. Use a hash symbol for comments:
4242

4343
## Command line options
4444

45-
You can use both short and long options, exactly as you would write them on a command line.
45+
You can use both short and long options, exactly as you would write them on a command line.
4646

4747
You can also write the long option WITHOUT the leading two dashes to make
48-
it easier to read.
48+
it easier to read.
4949

5050
# curl config file
5151

@@ -58,7 +58,7 @@ it easier to read.
5858
## Arguments
5959

6060
A command line option that takes an argument must have its argument provided on
61-
the SAME LINE as the option.
61+
the SAME LINE as the option.
6262

6363
# curl config file
6464

cmdline/curlver.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ An example output from a Debian Linux in June 2020:
1818
libssh2/1.8.0 nghttp2/1.41.0 librtmp/2.3
1919
Release-Date: 2020-01-08
2020
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
21-
pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
21+
pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
2222
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos
2323
Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
2424

@@ -30,7 +30,7 @@ looks like:
3030
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps
3131
telnet tftp
3232
Features: AsynchDNS IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL
33-
33+
3434
The meaning of the four lines?
3535

3636
## Line 1: curl

cmdline/urls/scheme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ default to HTTP.
5353
For example, this gets a file from an FTP site:
5454

5555
curl ftp.funet.fi/README
56-
56+
5757
While this gets data from an HTTP server:
5858

5959
curl example.com

cmdline/variables.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Insert `{{` verbatim in the string by escaping it with a backslash:
6666

6767
In the example below, the variable `host` is set and then expanded:
6868

69-
curl \
69+
curl \
7070
--variable host=example \
7171
--expand-url "https://{{host}}.com"
7272

@@ -87,7 +87,7 @@ As an example, assign the `%USER` environment variable to a curl
8787
variable and insert it into a URL. Because no default value is specified, this
8888
operation fails if the environment variable does not exist:
8989

90-
curl \
90+
curl \
9191
--variable %USER \
9292
--expand-url "https://example.com/api/{{USER}}/method"
9393

@@ -136,7 +136,7 @@ These functions are available: `trim`, `json`, `url` and `b64`
136136

137137
## Function: `trim`
138138

139-
Expands the variable without leading and trailing white space. White space is defined as:
139+
Expands the variable without leading and trailing white space. White space is defined as:
140140

141141
* horizontal tabs
142142
* spaces
@@ -180,7 +180,7 @@ Expands the variable base64 encoded. Base64 is an encoding for binary data
180180
that only uses 64 specific characters.
181181

182182
--expand-data "content={{value:b64}}"
183-
183+
184184
To trim the variable first, apply both functions (in this order):
185185

186186
--expand-data "content={{value:trim:b64}}"

0 commit comments

Comments
 (0)