This is the tinyest of things, but I generally write a sed to match what
is needed and nothing more, especially when it allows me to unwrap a
line.
sed -i -e "/g_assert (test_count_threads () == limit);/d" \
tests/threadpool-test.c &&
can be
sed -i "/g_assert (test_count_threads () /d" tests/threadpool-test.c &&
while still maintaining the 72 character limit. It can be shrunk down
several characters more, but then it also would become difficult to see
what it was doing. This is, of course, editor preference fodder, but
just throwing it out there in case other editors also like to unwrap
lines where possible.
--
Archaic
Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page