NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/40977: /var/backups/work/device.current is overly sensitive to ls(1) columnar alignment



The following reply was made to PR misc/40977; it has been noted by GNATS.

From: Alan Barrett <apb%cequrux.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: misc/40977: /var/backups/work/device.current is overly
        sensitive to ls(1) columnar alignment
Date: Mon, 30 Mar 2009 10:31:19 +0200

 On Sun, 29 Mar 2009, David Holland wrote:
 >  On Sat, Mar 07, 2009 at 04:25:00AM +0000, Taylor R Campbell wrote:
 >   >  Any change in the columnar alignment in the listing of a
 >   >  single device in /var/backups/work/device.current as generated
 >   >  by /etc/security causes every other line to change.
 
 I was thinking of using "find ... -ls" instead of "find ... -print0
 | xargs -0 ls ...", because the output from "find -ls" always has
 consistent horizontal space.  However, the the output from "find -ls"
 has some extra columns (easy to remove via sed), and a different date
 format (similar to "ls -l", different from "ls -lT").
 
 --apb (Alan Barrett)
 


Home | Main Index | Thread Index | Old Index