freebsd-skq/libexec/rc
Kurt Lidl c65b552f89 Remove an unneeded 'tail -n 1' from a pipeline
When piping to awk, it's almost always an anti-pattern to use 'grep'
first.

When not in a pipeline, sometimes it is faster to use tail, as awk
must process all the lines in the input stream, and won't 'seek'.
In a pipeline, both grep and awk must process all lines, so we might
as well skip the extra process creation for tail and just use awk
for all the processing.

Reviewed by:	jilles
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D19441
2019-03-11 13:33:03 +00:00
..
rc.d Remove an unneeded 'tail -n 1' from a pipeline 2019-03-11 13:33:03 +00:00
Makefile
netstart
network.subr rc(8): do not stop dhclient(8) when wpa_supplicant(8) / hostapd(8) is used 2019-01-27 15:55:31 +00:00
pccard_ether
rc
rc.conf Remove iBCS2, part1: userspace 2018-12-19 21:56:54 +00:00
rc.initdiskless rc.initdiskless: fix commentary grammar after r339465 2018-10-20 18:46:36 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.shutdown
rc.subr rc.subr: Fix typo 2019-01-06 01:39:01 +00:00
rc.suspend