Bug#396959: dlint: Deprecated syntax for sort and tail

2006-11-05 Thread Florian Hinzmann
tags 396959 + pending
thanks


Hello!

Thanks for your report.


Yes, I have seen this warnings, too. I will test the new syntax 
and upload a fixed version soon.


On Fri, 03 Nov 2006 16:40:32 -0500
pete [EMAIL PROTECTED] wrote:

 Here is the diff output for the fixes that got the warnings to stop for
 me:
 --
 307c307
sort +0nr $TMPSERIALS | awk '{print $2}'  $TMPNS
 ---
sort -k 0nr $TMPSERIALS | awk '{print $2}'  $TMPNS

Especially here I am not sure wether the options -nr are read
correctly in this form.


 Regards
   Florian


-- 
  Florian Hinzmann private: [EMAIL PROTECTED]
Debian: [EMAIL PROTECTED]
PGP Key / ID: 1024D/B4071A65
Fingerprint : F9AB 00C1 3E3A 8125 DD3F  DF1C DF79 A374 B407 1A65


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#396959: dlint: Deprecated syntax for sort and tail

2006-11-03 Thread pete
Package: dlint
Version: 1.4.0-5
Severity: normal

The unstable version uses deprectated syntax for one 'sort' and three
'tail' commands.  It doesn't break anything, but it does throw warning
messages from sort and tail.

Here is the diff output for the fixes that got the warnings to stop for
me:
--
307c307
   sort +0nr $TMPSERIALS | awk '{print $2}'  $TMPNS
---
   sort -k 0nr $TMPSERIALS | awk '{print $2}'  $TMPNS
321c321
   ns=`tail +$i $TMPNS | head -1`
---
   ns=`tail -n +$i $TMPNS | head -1`
395c395
   set `tail +$i $TMPPTR | head -1`
---
   set `tail -n +$i $TMPPTR | head -1`
476c476
   set `tail +$i $TMPA | head -1`
---
   set `tail -n +$i $TMPA | head -1`
--


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dlint depends on:
ii  dnsutils  1:9.3.2-P1.0-1 Clients provided with BIND
ii  perl  5.8.8-6.1  Larry Wall's Practical Extraction 

dlint recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]