@echo off
rem This command imust be called by win_pack.cmd for each line of
rem of a list. The line is composed of 3 items, mode, source, target.
rem The indicator of the mode is e or c, meaning edit and copy
rem to be edited are some files with <LF> as eof. For windows
rem this eof is replaced with <CR><LF>
rem all other indicators are dummie's
@echo off
if %1==c copy %2 %3
if %1==e sed s/\x0D/\x0D\x0A/ %2 > %3
@echo on
