perbh |
07-09-2013 09:30 PM |
Seeing everybody thinks mis-spellings might be a real-bad-thing, I guess the following should also be considered for updates:
Quote:
rc.autofs:33:# load customized configuation settings
rc.cups:27:# NetBSD 1.5+ rcorder script lines. The format of the following two
rc.inet1.conf:80:#IFNAME[4]="wlan0" # Use a different interface name nstead of
rc.inet1.conf:85:#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
rc.wireless:50:# need this additional time to initalize.
|
I don't really dare to think what a similar exercise into the kernel source would bring - but for anyone sufficiently interested - the above was done by:
Code:
#!/bin/sh
cd /etc/rc.d
for f in *; do
test -d $f && continue # skip directories
test ${f:0:11} = rc.modules- && continue # only use default
grep -n '^#' $f | grep -v '#$' | while read t; do
echo "$f:$t"
done
done
The result was piped through a spell-checker ('aspell' in this case) - and after a few k-keypushes of 'i' (ignore) - the output was as above.
getting somewhat tired-eye at the end - I might well have missed some ...
I would appreciate if the above could be given the same serious attitude as given to the OP ...
ps.
I do apologize if I have stepped on anybody's toes - but sometimes there is a li'l ole devil sittin' on one's shoulder ...
|