Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f3d53 commit 0df4481Copy full SHA for 0df4481
vhc
@@ -1,19 +1,18 @@
1
#!/bin/bash
2
-read string;
+read string
3
4
-string_length=${#string};
5
-iteration=$((string_length=string_length+9));
+string_length=${#string}
+iteration=$((string_length=string_length+9))
6
7
function printComments {
8
for (( c=0; c<=$iteration; c++ )); do
9
- echo -n '#';
+ echo -n '#'
10
done
11
12
- echo '';
+ echo ''
13
}
14
15
16
-printComments;
17
-echo "#### $string ####";
18
19
-
+printComments
+echo "#### $string ####"
0 commit comments