[mplspm]: does anyone know of a perl script to convert .cshrc file to .profile format?

Roleigh Martin rol at uhc.com
Wed Jan 2 15:21:28 CST 2002


Hi,

does anyone know of a perl script to convert .cshrc file to .profile format?

the tricky part of writing one for one's self is the path line - for 
instance in
.cshrc it is:

set path=(. /bin /usr/bin /etc /usr/ucb /usr/bin/X11 /usr/local/bin 
${HOME}/bin ${HOME}/util /usr/c/CenterLine/bin /home/sybase/OCS-12_0/bin 
${OEC_DCE_TOOLS}/bin ${U
HC_DCE_TOOLS}/bin  /sybooks/ibm/bin 
) 


in .profile it is:

PATH=.:/usr/bin:/usr/sbin:${OEC_DCE_TOOLS}/bin:${UHC_DCE_TOOLS}/bin:~/.:/etc:/usr/bin/X11:/usr/local/bin:~/bin:~/exe:~/wdce/qstar/bin:~/wdce/qstar/bin/lib:/home/acro
bat3/bin:/usr/lpp/db2_05_00/bin:/usr/lpp/db2_05_00/lib 



If anyone can point me to a script I'd be highly appreciative.

thanks in advance

Roleigh Martin

--
Roleigh Martin, Rt. MN006-E200       Opinions are mine not UHG  |
Software Engineer Consultant         AT&T voice:  (952) 351-2204|
UHG, HealthCare System Services      AT&T vmail:  (952) 351-2204|
9705 Data Park Drive
Minnetonka MN 55343                  Email:          rol at uhc.com|
As far as we know, our computer has never had an undetected error.-Weisert|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/archives/mpls-pm/attachments/20020102/369aad85/attachment.htm


More information about the Mpls-pm mailing list