Answer the question
In order to leave comments, you need to log in
Bash script for console swift, compilation automation how to write?
Good day or evening/night to all.
In general, I have a script or its beginning.
I'm either dumb or my poppy is hard buggy.
In general, the simplest option is
#!/bin/bash
#
#
#
echo Please, enter your name
read NAME
echo "Hi $NAME!"
Answer the question
In order to leave comments, you need to log in
What text editor? Enable line break UNIX in it, these errors are typical for invisible special characters (carriage return) getting into the source code, editors on Windows are especially guilty. Open it in vim and see these ^M:)
dos2unix - there is such a utility - convert curved line breaks.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question