run csh in bash

write csh script

for example

 

=========

#!/bin/csh

source xxxx

=========

sava as aa.csh

 

 

in bbbash file

write as

============

#!/bin/bash

csh ./aa.csh

============

 

then in the terminal type

bbbash

 

 

posted @ 2012-03-22 20:46  greencolor  阅读(232)  评论(0编辑  收藏  举报