create test sample files in test/DIRECTORY/

This commit is contained in:
Ryan Delaney 2014-06-23 16:08:01 -07:00
parent d322496b9e
commit f7eb847b12
1 changed files with 4 additions and 3 deletions

View File

@ -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: