由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - unix下编译fortran 的错误太多,看不到怎么办?
相关主题
how to redirect error output under unixHow to redirect error messages to a file?
how to redirect the outputps怎么在windows下一张纸打印多页?
为什么time命令无法重定向?CGI之Perl Script一问
请教How to get rid of the bg job id redirection?help!!! pipe program
How to merge stdout and stderrcommand line socket tools
how to see the output to stderr?50伪币:请教perl代码差错的问题!多谢啦!
what's wrong with this ftp batch file?[转载] About the history
有人知道吗?Re: 怎样知道程序运行时间?time 什么来着?which shell is best?
相关话题的讨论汇总
话题: 编译话题: 看不到话题: 错误话题: 怎么办话题: bash
进入Unix版参与讨论
1 (共1页)
l**t
发帖数: 452
1
我用f90编译一个model,但是错误太多,都看不到前面的。怎么办?
redirection > 不行!
| more 也不行!
谢谢各位!!!
s**s
发帖数: 242
2
under bash:
f77 options >& log

【在 l**t 的大作中提到】
: 我用f90编译一个model,但是错误太多,都看不到前面的。怎么办?
: redirection > 不行!
: | more 也不行!
: 谢谢各位!!!

b*d
发帖数: 75
3
bash 是不是改用 2> 压?
欧 >& 都是给tcsh什么的用的

【在 s**s 的大作中提到】
: under bash:
: f77 options >& log

l**p
发帖数: 569
4
try script.
do "script", run the program, then do "exit".
all the output will be saved to file typescripts.

【在 b*d 的大作中提到】
: bash 是不是改用 2> 压?
: 欧 >& 都是给tcsh什么的用的

s**s
发帖数: 242
5
偶的bash就是这样用的,刚试了csh这样也行,sh不行

bash 是不是改用 2> 压?
欧 >& 都是给tcsh什么的用的

【在 b*d 的大作中提到】
: bash 是不是改用 2> 压?
: 欧 >& 都是给tcsh什么的用的

c****j
发帖数: 258
6
redirect stderr(2) to stdout(1), then you can use more to see the output.
exec_file 2>&1 | more
pipe(|) just redirect stdout to stdin(0), not stderr
you can also put it into a file
exec_file 2>&1>logfile

我用f90编译一个model,但是错误太多,都看不到前面的。怎么办?
redirection > 不行!
| more 也不行!
谢谢各位!!!

【在 l**t 的大作中提到】
: 我用f90编译一个model,但是错误太多,都看不到前面的。怎么办?
: redirection > 不行!
: | more 也不行!
: 谢谢各位!!!

1 (共1页)
进入Unix版参与讨论
相关主题
which shell is best?How to merge stdout and stderr
bash 彩色 shell prompthow to see the output to stderr?
how to grep with more than one patterns in tcsh?what's wrong with this ftp batch file?
用上箭头键找以前运行过的命令有人知道吗?Re: 怎样知道程序运行时间?time 什么来着?
how to redirect error output under unixHow to redirect error messages to a file?
how to redirect the outputps怎么在windows下一张纸打印多页?
为什么time命令无法重定向?CGI之Perl Script一问
请教How to get rid of the bg job id redirection?help!!! pipe program
相关话题的讨论汇总
话题: 编译话题: 看不到话题: 错误话题: 怎么办话题: bash