INN commit: trunk (3 files)
Russ Allbery
rra at stanford.edu
Thu Jan 8 20:11:15 UTC 2009
INN Commit <Russ_Allbery at isc.org> writes:
> Date: Thursday, January 8, 2009 @ 11:47:24
> Author: iulius
> Revision: 8278
>
> Use the "-n" option with head and tail (already used in config.guess).
[...]
> -host="`sed -n -e 's/^host=[ ]*//p' $cfg | tail -1`"
> +host="`sed -n -e 's/^host=[ ]*//p' $cfg | tail -n -1`"
It looks like -n -1 works, but it strikes me as a bit confusing compared
to using -n 1. For a moment, I thought the sign would do something
strange. I think just using -n 1 for these would be better.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list