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
--------------------------------------------- Study needs record, record needs review ---------------------------------------------
原文地址:https://www.cnblogs.com/georgemxx/p/13993289.html