Re: [Leaf-devel] Admin script help

2002-04-14 Thread Mike Noyes
On Sun, 2002-04-14 at 11:40, guitarlynn wrote: > On Sunday 14 April 2002 11:53, Mike Noyes wrote: > > Jeff, > > I modified your script, and added Lynn's awk line. I hope I didn't > > muck it up to bad. > > Looks OK to me if the output is correct. Lynn, It appears to be. All of the packages I've

Re: [Leaf-devel] Admin script help

2002-04-14 Thread guitarlynn
On Sunday 14 April 2002 11:53, Mike Noyes wrote: > Jeff & Lynn, > Thanks for the help. :-) > > Jeff, > I modified your script, and added Lynn's awk line. I hope I didn't > muck it up to bad. Looks OK to me if the output is correct. > Everyone, > Is there a reason that our packages don't contain

Re: [Leaf-devel] Admin script help

2002-04-14 Thread Mike Noyes
On Sat, 2002-04-13 at 12:36, Jeff Newmiller wrote: > perhaps > > #!/bin/sh > TMPDIR=/tmp/lrpdd > ORIGDIR=`pwd` > > if [ "" == "$1" ]; then > echo "usage : lrpldd lrpfilename" > elif [ -r "$1" ]; then > mkdir $TMPDIR > cd $TMPDIR > tar xzf $1 > find . -type f -exec ldd \{

Re: [Leaf-devel] Admin script help

2002-04-13 Thread Jeff Newmiller
On 13 Apr 2002, Mike Noyes wrote: > On Sat, 2002-04-13 at 09:06, Brad Fritz wrote: > > > > On 13 Apr 2002 08:33:44 PDT Mike Noyes wrote: > > > > > Anyone, > > > Is there a way to get tar to return the date of the most recent file in > > > a tarball? > > > > > > Example: > > > $ tar tvzf leaf/d

Re: [Leaf-devel] Admin script help

2002-04-13 Thread guitarlynn
On Saturday 13 April 2002 13:14, Mike Noyes wrote: > Thanks. This works fairly well. I still get errors from tar, but I > don't see any way to force it to ignore them. Try: > Examples: > $ ./package-date.sh > test.txt 2>&1 To something like: > #! /bin/bash > find leaf/ -iname "*.lrp" | > while

Re: [Leaf-devel] Admin script help

2002-04-13 Thread Mike Noyes
On Sat, 2002-04-13 at 09:06, Brad Fritz wrote: > > On 13 Apr 2002 08:33:44 PDT Mike Noyes wrote: > > > Anyone, > > Is there a way to get tar to return the date of the most recent file in > > a tarball? > > > > Example: > > $ tar tvzf leaf/devel/ddouthitt/packages/cal.lrp > > -rwxr-xr-x root/roo

Re: [Leaf-devel] Admin script help

2002-04-13 Thread Brad Fritz
On 13 Apr 2002 08:33:44 PDT Mike Noyes wrote: > Anyone, > Is there a way to get tar to return the date of the most recent file in > a tarball? > > Example: > $ tar tvzf leaf/devel/ddouthitt/packages/cal.lrp > -rwxr-xr-x root/root 9648 2001-12-17 06:42:08 usr/bin/cal > -rw-r--r-- root/root