Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)
On Sat, 24 Jun 2000, Mark Phillips wrote:
> for d in \
> /usr/lib/netscape/base-4/wrapper.d \
> /usr/lib/netscape/$VER \
> /usr/lib/netscape/$VER/$BIN ;do
> for f in (cd $d;ls -1 . | sort); do
> . $d/$f
> done
> done
I'm sure that a fix has already been posted, but this works for me
(replace the code above with this):
for d in /usr/lib/netscape/base-4/wrapper.d ; do
cd $d;
for f in `find -maxdepth 1 -type f`; do
. $d/$f
done
done
Peter
--------------------------------------------------
Peter D. Kovacs KnowPost.com LLC
Lead Engineer peter@knowpost.com
--------------------------------------------------
Reply to: