Skip to content

Commit d049d0f

Browse files
committed
Fixed order for more than 10 commands
1 parent 1928649 commit d049d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ demo() {
4343
split ${DEMO}
4444

4545
clear
46-
for COMMAND in $(ls ${DEMO}-*.command); do
46+
for COMMAND in $(ls ${DEMO}-*.command | sort -V); do
4747
echo
4848
PREFIX="\$"
4949
cat ${COMMAND} | grep -vE '^\s*$' | sed 's|\\|\\\\|g' | while read; do

0 commit comments

Comments
 (0)