\ProvidesFile{copyfile.tex}[2011/09/13 copy*ing/converting (UL)]
\RequirePackage{fddial0g}
\MakeSet{codes-f}{\TextCodesFile}
\let\TextCodes\relax                %% avoid errmessage
\TryDialogueCFG{copyfile}{%
    \InputFile{lines.txt}
    \TextCodesFile{atari.fdf}
    \ResultFile{lns.txt}}
\Announce{ * copyfile.tex * compressing blank lines/converting^^J}
\newcommand*{\VarShowSettings}{%
    \ShowSet{in-f}\LBrk
    \ShowSet{codes-f}\LBrk
    \ShowSet{out-f}}
\newcommand*{\VarRunSettings}{%
    \typeout{`copyfile.tex' generating `\UseSet{out-f}'}
    \UseResultFile{\UseSet{out-f}}
    \IfEmptySet{codes-f}{}{\input{\UseSet{codes-f}}}
    \CopyFile*[\TextCodes]{\UseSet{in-f}}%
} 
\DialogueLoop

\stop

