From 8db62f90039b0b0490f821176d2f50e7e9151eaf Mon Sep 17 00:00:00 2001 From: Yuri Prokushev Date: Fri, 5 Jul 2024 15:58:37 +0800 Subject: [PATCH] new line fix --- CMD/choice/patches/fixcase.cmd | 82 +++++++++++++++++----------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/CMD/choice/patches/fixcase.cmd b/CMD/choice/patches/fixcase.cmd index 277c949b..8a63e60a 100644 --- a/CMD/choice/patches/fixcase.cmd +++ b/CMD/choice/patches/fixcase.cmd @@ -1,41 +1,41 @@ -/* rexx */ - -parse arg dir - -call directory dir - -call rename 'SOURCE', 'source' -call directory 'source' -call rename 'CHOICE', 'choice' -call directory 'choice' - -call rename 'CHOICE.C', 'choice.c' -call rename 'KITTEN.C', 'kitten.c' -call rename 'KITTEN.H', 'kitten.h' -call rename 'PRF.C', 'prf.c' -call rename 'TALLOC.C', 'talloc.c' -call rename 'TCDUMMY.C', 'tcdummy.c' - - -exit 0 -/* ------------------------------------------ */ -rename: procedure -src = arg(1) -dst = arg(2) - -parse source os . - -if os = 'OS/2' | os = 'DOS' | os = 'WINDOWS' |, - os = 'WINNT' | os = 'WIN32' | os = 'WIN64' -then MV = 'move' -else MV = 'mv' - -ret = stream(src, 'c', 'query exists') - -if ret \= '' then do - MV' 'src' 'dst'1' - MV' 'dst'1 'dst -end - -return -/* ------------------------------------------ */ +/* rexx */ + +parse arg dir + +call directory dir + +call rename 'SOURCE', 'source' +call directory 'source' +call rename 'CHOICE', 'choice' +call directory 'choice' + +call rename 'CHOICE.C', 'choice.c' +call rename 'KITTEN.C', 'kitten.c' +call rename 'KITTEN.H', 'kitten.h' +call rename 'PRF.C', 'prf.c' +call rename 'TALLOC.C', 'talloc.c' +call rename 'TCDUMMY.C', 'tcdummy.c' + + +exit 0 +/* ------------------------------------------ */ +rename: procedure +src = arg(1) +dst = arg(2) + +parse source os . + +if os = 'OS/2' | os = 'DOS' | os = 'WINDOWS' |, + os = 'WINNT' | os = 'WIN32' | os = 'WIN64' +then MV = 'move' +else MV = 'mv' + +ret = stream(src, 'c', 'query exists') + +if ret \= '' then do + MV' 'src' 'dst'1' + MV' 'dst'1 'dst +end + +return +/* ------------------------------------------ */