> What is wrong with this?
>
> SRMAC=`cd -P $UTDEVROOT; pwd | sed 's/.*\(............\)/\1/'`
This will only work in ksh. Use this:
SRMAC=`perl -e 'print((split/\//,readlink $ENV{DTDEVROOT}."/unit")[4],"\n");'`
Regard -- Volker
--
------------------------------------------------------------------------
Volker A. Brandt Consulting and Support for Sun Solaris
Brandt & Brandt Computer GmbH WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim Email: [email protected]
Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgröße: 45
Geschäftsführer: Rainer J. H. Brandt und Volker A. Brandt
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users