开发者

sed output stagnate

I have file names that map to directores. For example.

test ---> /to/path/test/program.c

I have a line that formats the output of sed into this currently

test开发者_Go百科0
test1
test3

All unique directories, I now need to add leading path and copy their respective c files. Is there a way to stagnate the output of sed while i carry about there processes.

Please and thank you.


Send sed a SIGTSTP (such as is produced by pressing CTRL-Z) to pause it. Send a SIGCONT (the fg command in Bash) to continue it.

Or you could just let it run, and do your processing afterwards...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜