Explain the function of static keyword and final keyword in Java in detail>>>
Abstract
When a file edited in windows is uploaded to Linux, a curl: (3) illegal characters found in URL
error will be reported when using curl and other tools. This is because Linux and windows add different line breaks in text files. Linux will only add one
solutions
Convert file
tr -d '\r' < test.sh > testWithoutR.sh
When executing in a script
Delete
URL=${URL%$'\r'}
Similar Posts:
- Error 77 when solving PHP curl HTTPS
- How to Solve curl Path Error: Illegal characters found in URL
- shell :syntax error: unexpected end of file
- Solution of data truncated for column ‘xxx’ in MySQL
- Conversion to MySQL shell script execution error $’\ R’: command not found
- [daily development record] pycurl Python 3 error (23),’failed writing body (0= 456)
- [git] warning: LF will be replaced by CRLF | fatal: CRLF would be replaced by LF
- Create process error = 206 when running junittest
- [Solved] Python Error: /usr/bin/python^M: bad interpreter: No such file or directory
- VMware – “Determining IP Information for eth0…Failed