[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Handle-info] Blank Line In Batch File
Hi Sharif,
Thanks for sending me a copy of the batch file and the corresponding
error log. This has nothing to do with file format or different
operating systems. There is a space in each blank line (line 3, 7, 11,
15, etc). The space character is throwing off the batch program, it
expects to find more handle values after the space, but finds nothing
else on that line. That is why the log shows a failure message at each
blank line. Just go through the file, remove the spaces at each line
where the log says there was an error, and try it again.
Thanks,
Masud Idris,
CNRI
Sharif Islam wrote:
One of my users created a batch file in a windows machine. When I run
the batch tool in the linux server, I get the follow error for all the
handles, except the last one:
"==>INVALID[15]: error in handle value index string"
I tried using 'dos2unix' <filename>, it didn't work, same error
However, if delete the blank line manually and re-enter it in the vi,
it works fine. Is it a CRLF/ LF issue?
--sharif
_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info
_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info