开发者

sed output stagnate

开发者 https://www.devze.com 2023-01-12 00:04 出处:网络
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

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

精彩评论

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