Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

bin/bash bad interpreter

#The ^M is a carriage return character. Linux uses the line feed character to mark the end of a line, whereas Windows uses the two-character sequence CR LF. Your file has Windows line endings, which is confusing Linux.
#remove the cariage character

sed -i -e 's/
$//' NAME-OF-FILE.sh
Comment

/bin/sh^m bad interpreter

:set fileformat=unix
Comment

/bin/sh^m bad interpreter


:set fileformat=unix

Comment

PREVIOUS NEXT
Code Example
Csharp :: remove all non number in c# 
Csharp :: c# empty IEnumerable 
Csharp :: c# randomize a list 
Csharp :: get random point in collider unity 
Csharp :: unity android back button 
Csharp :: c# console create window 
Csharp :: c# prime factorization 
Csharp :: get datacontext of parent wpf 
Csharp :: stop process c# 
Csharp :: unity disable parent gameobject 
Csharp :: compute months c# 
Csharp :: ienumerator 
Csharp :: require admin privileges c# 
Csharp :: custom editor unity 
Csharp :: messagebox.show c# error 
Csharp :: wpf set image source in code behind 
Csharp :: c# copy list without reference 
Csharp :: c# fontweight in code 
Csharp :: how to unset passwordchar in c# windows application 
Csharp :: c# list shuffle 
Csharp :: how to log out of unity asset store 
Csharp :: validate base64 string c# 
Csharp :: check internet connection in c# 
Csharp :: how to show a reference in unity 
Csharp :: car controller script unity 
Csharp :: unity animator current state name 
Csharp :: c# dynamic object get value 
Csharp :: how to set a objects position to the mouse unity 
Csharp :: print in c# unity 
Csharp :: c# override index operator 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =