tcsh shell 批量复制某个文件

Syntax

Loop

#!/bin/csh -f
# bulk copy with different names
foreach i (17 18 19 20 21 22 23)
      cp xxx.c xxx_$i.c
end
posted @ 2020-11-17 11:23  乔治是只猪  阅读(215)  评论(0编辑  收藏  举报