<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pack/.parse-deps, branch master</title>
<subtitle>Serialisation and deserialisation in C similar to Python's struct library (WIP)
</subtitle>
<id>https://the-tk.com/cgit/pack/atom?h=master</id>
<link rel='self' href='https://the-tk.com/cgit/pack/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/pack/'/>
<updated>2021-08-05T10:27:24Z</updated>
<entry>
<title>.parse-deps: No longer executable, called with sed -f</title>
<updated>2021-08-05T10:27:24Z</updated>
<author>
<name>Tomasz Kramkowski</name>
<email>tk@the-tk.com</email>
</author>
<published>2021-08-05T10:27:24Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/pack/commit/?id=1bfd9a05a71e3ec729b65ff040a2496b7b1f8a23'/>
<id>urn:sha1:1bfd9a05a71e3ec729b65ff040a2496b7b1f8a23</id>
<content type='text'>
as #!/usr/bin/sed is not portable, it is easier to just use sed -f
</content>
</entry>
<entry>
<title>fix .parse-deps when input spans multiple lines</title>
<updated>2021-08-05T08:37:09Z</updated>
<author>
<name>Tomasz Kramkowski</name>
<email>tk@the-tk.com</email>
</author>
<published>2021-08-05T08:15:26Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/pack/commit/?id=3f441bd58ae91a38e1f0f872c80a126166e85338'/>
<id>urn:sha1:3f441bd58ae91a38e1f0f872c80a126166e85338</id>
<content type='text'>
.parse-deps breaks when inputs such as the following are passed:

foo.o: \
  foo.c \
  foo.h

There's 3 issues:
1. The first \ wouldn't be folded as the space prior to the \ would be
   removed by the removal of the target name.
2. Extra spaces would end up in front of every name in the final output.
3. \n in the pattern of the s command is not portable to non-gnu-sed.

The new version's folding loop:
1. Removes any double forward slashes currently present in the pattern
   space.
2. Adds a double forward slash at the end of the line.
3. Removes the backslash, double forward slash, character following it
   (newline) and any spaces following that character.

This solves all three problems.
</content>
</entry>
<entry>
<title>.parse-depfile -&gt; .parse-deps - as it's no longer used with files</title>
<updated>2021-07-21T23:00:50Z</updated>
<author>
<name>Tomasz Kramkowski</name>
<email>tk@the-tk.com</email>
</author>
<published>2021-07-21T22:58:33Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/pack/commit/?id=13b242e2fdfb020f29eaa302e1f7b0f6bb65395b'/>
<id>urn:sha1:13b242e2fdfb020f29eaa302e1f7b0f6bb65395b</id>
<content type='text'>
</content>
</entry>
</feed>
