Index: mttroot/mtt/bin/sh2csh ================================================================== --- mttroot/mtt/bin/sh2csh +++ mttroot/mtt/bin/sh2csh @@ -2,11 +2,26 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.1 1999/03/11 04:02:45 peterg +## Initial revision +## ############################################################### +echo Converting $1 to $1.csh #Converts mttrc to csh form. +date=`date` + +cat<$1.csh +#!/bin/csh +## Automatically generated from bashrc on $date - DO NOT EDIT +EOF + +cat $1 | sed 's/export/setenv/' | sed 's/=/ /' >>$1.csh + + +echo done. -sed 's/export/setenv/' | sed 's/=/ /' +