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 464fddb commit 6b81076Copy full SHA for 6b81076
mini-matrix.sh
@@ -105,13 +105,15 @@ done
105
106
function matrix() {
107
108
+ line=""
109
110
for ((i=0; i<=n_chars; i++)); do
111
# get random char out of custom chars
112
char=$(echo "$custom_chars" | fold -w1 | shuf | head -n1)
- echo -n $char
113
+ line="$line$char"
114
done
115
116
+ printf "%s" "$line"
117
118
}
119
@@ -146,7 +148,7 @@ case $command in
146
148
;;
147
149
150
version)
- echo "mini-matrix 1.0"
151
+ echo "mini-matrix 0.2.0"
152
153
154
esac
0 commit comments