LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   mkdir help (http://www.linuxquestions.org/questions/linux-software-2/mkdir-help-181530/)

ITJedi 05-14-2004 06:12 PM

mkdir script help
 
When I run this script it creates the files, but all of the files have a ? at the end. When I do an rm it puts a ^M on the file name. Any ideas?

./mk_dir.sh

mkdir -p /usr/local/oracle/product/9.2.0/dbf/PFEI6
mkdir -p /usr/local/oracle/product/9.2.0/ctl/PFEI6
mkdir -p /usr/local/oracle/product/9.2.0/rdo1/PFEI6
mkdir -p /usr/local/oracle/product/9.2.0/rdo2/PFEI6
mkdir -p /usr/local/oracle/product/9.2.0/arch/PFEI6
mkdir -p /usr/local/oracle/product/9.2.0/admin/PFEI6/utl_dir_files
mkdir -p /usr/local/oracle/product/9.2.0/admin/PFEI6/ctl
mkdir -p /usr/local/oracle/product/9.2.0/admin/PFEI6/bdump
mkdir -p /usr/local/oracle/product/9.2.0/admin/PFEI6/cdump
mkdir -p /usr/local/oracle/product/9.2.0/admin/PFEI6/udump

Tinkster 05-14-2004 06:19 PM

Written script on Windows machine?
fromdos <mk_dir.sh >mk_dir_unix.sh


Cheers,
Tink


All times are GMT -5. The time now is 02:23 AM.