Redian新闻
>
why my shell program doesn't continue
avatar
why my shell program doesn't continue# Unix - 噫吁兮,危乎高哉
g*a
1
the program is very simple
=================
#!/bin/csh
cat *.h include/*.h > temp1
grep ^#define temp1 > temp2
=====================
but after showing :
Selected SIMSCRIPT II.5 (1.8) for OpenLook 3.0 on Sun Sparc
it just stay there for ever. after I stop the program using
Ctl-D, I saw temp1 is there.
why.
avatar
q*e
2
Just type man grep to find out. I am
afraid no one would like to answer such simple and
easy question. Why not look at the manual for
a few minutes and you know why immediately.
Don't dpend on network too much! And ignore
to find out such simple question yourself!

【在 g****a 的大作中提到】
: the program is very simple
: =================
: #!/bin/csh
: cat *.h include/*.h > temp1
: grep ^#define temp1 > temp2
: =====================
: but after showing :
: Selected SIMSCRIPT II.5 (1.8) for OpenLook 3.0 on Sun Sparc
: it just stay there for ever. after I stop the program using
: Ctl-D, I saw temp1 is there.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。