Running bulkdelete.sh on Windows Using Cygwin Fails with '\r': command not found (Doc ID 580495.1)

Last updated on JULY 01, 2016

Applies to:

Oracle Internet Directory - Version: 10.1.2 and later   [Release: 10gR2 and later ]
Information in this document applies to any platform.

Symptoms

Bulk commands line tools (e.g., bulkload.sh, bulkdelete.sh, catalog.sh) fail to run on Windows using cygwin, with:

./bulkdelete.sh: line 6: $'\r': command not found
not a valid identifier export: `TMPDIR
./bulkdelete.sh: line 32: syntax error near unexpected token `$'{\r''


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms