mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-10 10:44:59 -04:00
21 lines
No EOL
233 B
Awk
21 lines
No EOL
233 B
Awk
# awk -f FILEAWK FILELIST
|
|
|
|
BEGIN{
|
|
}
|
|
|
|
#
|
|
# main logic is here
|
|
#
|
|
{
|
|
sfile = $1
|
|
dfile = $2
|
|
cpcmd = "cp " $1 " " $2
|
|
printf "Coping %s to %s\n",sfile,dfile
|
|
system(cpcmd)
|
|
}
|
|
|
|
#
|
|
# End action, if any, e.g. clean ups
|
|
#
|
|
END{
|
|
} |