We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b49062a commit c9b3328Copy full SHA for c9b3328
bash_functions
@@ -60,7 +60,10 @@ using_function_arguments one two three four five six seven eight nine ten
60
# returning values often uses global variables but this is not always
61
# good form so function output is returned via STDOUT, Standard Output.
62
function_that_returns_a_value() {
63
- echo "this string is discretely returned."
+
64
+ # Note that the "-n" flag causes echo to output without
65
+ # appending a newline at the end of the given string.
66
+ echo -n "this string is discretely returned."
67
}
68
69
# prints output to STDOUT
0 commit comments