On Fri, 19 Mar 2004, Doug Henry wrote:

> I believe I found the problem.  If I move /usr/bin before /usr/ucb in my
> path everything seems to work.  Different set of tools (tr, sed, etc.). 
> Not sure how they are different, but they definitely are.

/usr/ucb is deprecated in Solaris 9, it's mainly for backwards
compatibility with older Solaris version (SunOS/BSDish).  You
should put /usr/ucb towards the very end in your PATH statement.
ucb = university california berkeley (if I'm not mistaken).


- Mike

> On Fri, 2004-03-19 at 11:37, Ralf S. Engelschall wrote:
> > On Fri, Mar 19, 2004, Doug Henry wrote:
> > 
> > > the first two commands also hang.  the last command hangs after the sed
> > > (last) command.  I have attached my console output.
> > > [...]
> > > + [ .platform != . ]
> > > toolcmd=/home/losradar/tools/SunOS-5.8/lib/openpkg/shtool platform
> > > toolcmdhelp=shtool platform
> > > msgprefix=shtool:platform
> > > + echo 0=
> > > + sed -e s/^\([0-9]*\)\([+=]\)/arg_NUMS=\1; arg_MODE=\2/
> > > + eval arg_NUMS=0; arg_MODE==
> > > arg_NUMS=0
> > > arg_MODE==
> > > + echo h.F:S:C:L.U.v.c.n.t:d.V.h.
> > > + sed -e s/\([a-zA-Z0-9]\)\([.:+]\)/opt_MODE_\1=\2;/g
> > > + eval 
> > > opt_MODE_h=.;opt_MODE_F=:;opt_MODE_S=:;opt_MODE_C=:;opt_MODE_L=.;opt_MODE_U=.;opt_MODE_v=.;opt_MODE_c=.;opt_MODE_n=.;opt_MODE_t=:;opt_MODE_d=.;opt_MODE_V=.;opt_MODE_h=.;
> > > opt_MODE_h=.
> > > opt_MODE_F=:
> > > opt_MODE_S=:
> > > opt_MODE_C=:
> > > opt_MODE_L=.
> > > opt_MODE_U=.
> > > opt_MODE_v=.
> > > opt_MODE_c=.
> > > opt_MODE_n=.
> > > opt_MODE_t=:
> > > opt_MODE_d=.
> > > opt_MODE_V=.
> > > opt_MODE_h=.
> > > + echo 
> > > h:help,F:format,S:sep,C:conc,L:lower,U:upper,v:verbose,c:consise,t:type,n:no-newline,V:version,h:help
> > > + tr x- x_
> > > + sed -e s/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g
> > > ^C
> > > $
> > > $ exit
> > 
> > Err... then something is broken on your platform. Why should this hang at all?
> > Try the following commands:
> > 
> > $ echo "echo 
> > h:help,F:format,S:sep,C:conc,L:lower,U:upper,v:verbose,c:consise,t:type,n:no-newline,V:version,h:help"
> >  | tr x- x_ | sed -e 's/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g'
> > 
> > and give me the output of these commands so I can try to reproduce it on a similar 
> > machine:
> > 
> > $ which echo
> > $ which tr
> > $ which sed
> > $ uname -a
> > 
> >                                        Ralf S. Engelschall
> >                                        [EMAIL PROTECTED]
> >                                        www.engelschall.com
> > 
> > ______________________________________________________________________
> > The OpenPKG Project                                    www.openpkg.org
> > User Communication List                      [EMAIL PROTECTED]
> -- 
> You know it is summer in Ireland when the rain gets warmer.
> 
> ______________________________________________________________________
> The OpenPKG Project                                    www.openpkg.org
> User Communication List                      [EMAIL PROTECTED]
> 

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to