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 也不行! : 谢谢各位!!!
|