From f7eb847b125f126add113e355ce8321556ddd0a0 Mon Sep 17 00:00:00 2001 From: Ryan Delaney Date: Mon, 23 Jun 2014 16:08:01 -0700 Subject: [PATCH] create test sample files in test/DIRECTORY/ --- buildsuite | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/buildsuite b/buildsuite index a0bf8b4..deae106 100755 --- a/buildsuite +++ b/buildsuite @@ -113,8 +113,9 @@ chmod 0777 WORLDWRITEABLE # Supported extensions while read line; do - : -# echo "$line" -done < <(sed -e '/^[ ]+#/d' ../LS_COLORS) + if [[ ! -f test"$line" ]]; then + touch ./DIRECTORY/test"$line" + fi +done < <(sed -r -e '/^[ ]+#/d; /^[^\.]/d; /^$/d' ../LS_COLORS | grep -Po '^\.([A-z0-9]+)' ) # vim: ft=sh foldmethod=marker: