RE: [Leaf-devel] Help file shell script

2001-07-18 Thread Andrew Hoying
On another note, does anyone else see the benefit from having the output of 'tar ztf .lrp' available on the server as well? Just a thought. > More succinct (and doesn't require a pipe or loading of big ol' sed): > > rootpkg=${i%%.lrp} Interesting, I'd never seen it done that way. I certainly ne

[Leaf-devel] Help file shell script

2001-07-18 Thread David Douthitt
Andrew Hoying wrote: > what if we modified the script like so... A code time to sharpen the chain saw :-) Permit me... > #!/bin/sh > > cd $PACKAGES > for i in `ls *.lrp` More succinct (and doesn't require loading ls): for i in *.lrp > do > echo $i > tar xzf $i var/lib/lrpkg > c