Skip to content

Instantly share code, notes, and snippets.

@nielsmh
Created April 26, 2018 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nielsmh/4c187d77d373976b2862ea288f2f872c to your computer and use it in GitHub Desktop.
Save nielsmh/4c187d77d373976b2862ea288f2f872c to your computer and use it in GitHub Desktop.
diff --git a/projects/generate b/projects/generate
index e82559a..53fc650 100755
--- a/projects/generate
+++ b/projects/generate
@@ -192,7 +192,7 @@ load_main_data() {
load_lang_data() {
RES=""
- for i in `ls $1`
+ for i in `ls $1 | sort -d`
do
i=`basename $i | sed s~.txt$~~g`
if [ "$i" == "english" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment