Using NONMEM DOS files under Linux
Date: Thu, 19 Aug 1999 13:54:18 +0200 (MET DST)
From: Ruediger Port <R.Port@DKFZ-Heidelberg.DE>
Subject: Using NONMEM DOS files under Linux
Dear Dr. Zarate:
Here is a C-shell script that removes the CR/LF characters from all files in the current directory:
------------------------ begin of included file -----------------
# C-shell script, removes characters from all files in the current
# directory:
foreach file (*)
sed 's/\//g' < $file > $file.new
mv $file.new $file
end
------------------------ end of included file -------------------
You won't see the change because Linux' vi editor doesn't show the character even when it is there. However, it does cause difficulties under UNIX even when you don't see it.
Good luck! Ruedi
(Dr. R. Port, German Cancer Research Center, Heidelberg, Germany)