in Education by
When I run a particular SQL script in Unix environments, I'm am seeing a '^M' character at the end of each line of the SQL script as it is echoed to the command-line. I don't know on which OS the SQL script was originally created. What is causing this and how do I fix it? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
It's caused by the DOS/Windows line-ending characters. Like Andy Whitfield said, the Unix command dos2unix will help fix the problem. If you want more information, you can read the man pages for that command.

Related questions

0 votes
    Find a 10-digit number, where the first figure defines the count of zeros in this number, the second figure the ... character expresses the count of the numeral 9 in this number....
asked Feb 13, 2021 in Education by JackTerrance
0 votes
    Write a program to accept a filename from the user and display all the lines from the file which contain python comment character ‘#’. Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    Command lines entered at the console are limited to about ________ bytes. (a) 3000 (b) 4095 (c) 5000 (d ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    I'm reading data from a csv file in help of gnuplot. Most of the lines have 8 columns, some of ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 16, 2022 in Education by JackTerrance
0 votes
    The waveguide is employed in the transmission lines, when operated at the range of (a) Hz ( ... proposed by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked Nov 6, 2021 in Education by JackTerrance
0 votes
    I need to remove zeros that are in the middle of a string, while keeping the ones at the end (in ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 2, 2022 in Education by JackTerrance
0 votes
    I need to remove zeros that are in the middle of a string, while keeping the ones at the end (in ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 27, 2022 in Education by JackTerrance
0 votes
    I need to remove zeros that are in the middle of a string, while keeping the ones at the end (in ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 14, 2022 in Education by JackTerrance
0 votes
    If a command is not complete at the end of a line, R will give a different prompt, by default it is ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    If the cursor is placed at the end of the file , then___ button is pressed to delete the text. 1. delete 2. back space 3. enter 4. tab Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    Mother, father and son line up at random for a family picture E : son on one end, F : father in middle Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
0 votes
    A man takes a step forward with probability 0.4 & backward with probability 0.6. Probability that at end of eleven stops ... (iv) N.O.T Select the correct answer from above options...
asked Nov 13, 2021 in Education by JackTerrance
...