开发者

Is there a way to stop a program after it outputs n lines?

Ive tried the following, but it still waits for the 开发者_如何转开发program to finish executing lnx>someprogram | sed -n '1,10p'

Maybe a pipe may not be the correct way to go about this. Any feedback would be appreciated!

Regards, Puji

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜