--- inn-2.4.1/configure.headusage 2004-12-13 13:09:57.000000000 +0100
+++ inn-2.4.1/configure 2004-12-13 15:02:02.431918648 +0100
@@ -8087,7 +8087,7 @@
echo "configure:8088: checking for Perl linkage" >&5
inn_perl_core_path=`$_PATH_PERL -MConfig -e 'print $Config{archlibexp}'`
inn_perl_core_flags=`$_PATH_PERL -MExtUtils::Embed -e ccopts`
- inn_perl_core_libs=`$_PATH_PERL -MExtUtils::Embed -e ldopts 2>&1 | tail -1`
+ inn_perl_core_libs=`$_PATH_PERL -MExtUtils::Embed -e ldopts 2>&1 | tail -n 1`
inn_perl_core_libs=" $inn_perl_core_libs "
inn_perl_core_libs=`echo "$inn_perl_core_libs" | sed 's/ -lc / /'`
for i in $LIBS ; do
--- inn-2.4.1/faq/part7.html.headusage 2004-12-13 13:09:57.000000000 +0100
+++ inn-2.4.1/faq/part7.html 2004-12-13 15:00:53.347421088 +0100
@@ -1108,7 +1108,7 @@
<PRE> A good indicator of your performance characteristics would be how much
</PRE>smaller is the number generated by this,
<P>
-<PRE> head -1 /var/news/etc/history.dir | perl -ane 'print 2 ** $F[7], "\n";'
+<PRE> head -n 1 /var/news/etc/history.dir | perl -ane 'print 2 ** $F[7], "\n";'
</PRE><P>
than the size of your history text file. If it's bigger you're OK. if it's
smaller, then lookups for the message ids at the tail of the history text
@@ -1252,7 +1252,7 @@
<P>
As noted in the inn FAQ section 7.45, you can check the size of your dbz
hash table with the following commands:<BR>
-<PRE> head -1 history.dir | perl -ane 'print 2 ** $F[7], "\n";'
+<PRE> head -n 1 history.dir | perl -ane 'print 2 ** $F[7], "\n";'
</PRE>if the number returned is smaller than your history text file, you are
being affected by this problem.<BR>
<P>
--- inn-2.4.1/support/fixscript.in.headusage 2004-12-13 13:09:57.000000000 +0100
+++ inn-2.4.1/support/fixscript.in 2004-12-13 14:59:17.620973720 +0100
@@ -51,7 +51,7 @@
exit 1
fi
-interpretor=`head -1 "$input"`
+interpretor=`head -n 1 "$input"`
case "$interpretor" in
*/sh|*SH*)
path="$SHPATH"
--- inn-2.4.1/configure.in.headusage 2004-12-13 13:50:42.000000000 +0100
+++ inn-2.4.1/configure.in 2004-12-13 15:03:03.543628256 +0100
@@ -852,7 +852,7 @@
AC_MSG_CHECKING(for Perl linkage)
inn_perl_core_path=`$_PATH_PERL -MConfig -e 'print $Config{archlibexp}'`
inn_perl_core_flags=`$_PATH_PERL -MExtUtils::Embed -e ccopts`
- inn_perl_core_libs=`$_PATH_PERL -MExtUtils::Embed -e ldopts 2>&1 | tail -1`
+ inn_perl_core_libs=`$_PATH_PERL -MExtUtils::Embed -e ldopts 2>&1 | tail -n 1`
inn_perl_core_libs=" $inn_perl_core_libs "
inn_perl_core_libs=`echo "$inn_perl_core_libs" | sed 's/ -lc / /'`
for i in $LIBS ; do
--- inn-2.4.1/backends/actsyncd.in.headusage 2004-12-13 13:09:57.000000000 +0100
+++ inn-2.4.1/backends/actsyncd.in 2004-12-13 14:56:43.813356032 +0100
@@ -53,23 +53,23 @@
# parse config_file
#
-host="`sed -n -e 's/^host=[ ]*//p' $cfg | tail -1`"
+host="`sed -n -e 's/^host=[ ]*//p' $cfg | tail -n 1`"
if [ -z "$host" ]; then
echo "$0: no host specified in $cfg" 1>&2
exit 3
fi
-flags="`sed -n -e 's/^flags=[ ]*//p' $cfg | tail -1`"
+flags="`sed -n -e 's/^flags=[ ]*//p' $cfg | tail -n 1`"
if [ -z "$flags" ]; then
echo "$0: no flags specified in $cfg" 1>&2
exit 4
fi
-ign="`sed -n -e 's/^ignore_file=[ ]*//p' $cfg | tail -1`"
+ign="`sed -n -e 's/^ignore_file=[ ]*//p' $cfg | tail -n 1`"
if [ -z "$ign" ]; then
echo "$0: no ignore file specified in $cfg" 1>&2
exit 5
fi
-ftp="`sed -n -e 's/^ftppath=[ ]*//p' $cfg | tail -1`"
-spool="`sed -n -e 's/^spool=[ ]*//p' $cfg | tail -1`"
+ftp="`sed -n -e 's/^ftppath=[ ]*//p' $cfg | tail -n 1`"
+spool="`sed -n -e 's/^spool=[ ]*//p' $cfg | tail -n 1`"
if [ -z "$spool" ]; then
spool=$SPOOL
#echo "$0: no spool directory specified in $cfg" 1>&2