Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Better
Better
Commits
4f8a2de3
Unverified
Commit
4f8a2de3
authored
Aug 10, 2018
by
Aral Balkan
Browse files
Add -e flag to echo statement in ask method
parent
767e5090
Changes
1
Hide whitespace changes
Inline
Side-by-side
install
View file @
4f8a2de3
...
...
@@ -53,7 +53,7 @@ ask() {
fi
# Ask the question (not using "read -p" as it uses stderr not stdout)
echo
"
$1
(
$prompt
)
\n
"
echo
-e
"
$1
(
$prompt
)
\n
"
# Read the answer (use /dev/tty in case stdin is redirected from somewhere else)
# read REPLY </dev/tty
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment