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 bbf5c4d commit 1575234Copy full SHA for 1575234
gen.sh
@@ -4,7 +4,7 @@ dist=colorEcho.sh
4
5
echo '#!/usr/bin/env bash' > $dist
6
7
-for color in `cat table | awk '{print $1}'`
+for color in `cat table.txt | awk '{print $1}'`
8
do
9
for light in "" "Light"
10
@@ -30,7 +30,7 @@ do
30
ulCode='4;'
31
fi
32
echo "{" >> $dist
33
- echo ' echo -e "\e['"$ulCode$bCode$code"$(grep $color table | awk '{print $2}')'m$1\e[m"' >> $dist
+ echo ' echo -e "\e['"$ulCode$bCode$code"$(grep $color table.txt | awk '{print $2}')'m$1\e[m"' >> $dist
34
echo "}" >> $dist
35
done
36
table table.txttable renamed to table.txt
0 commit comments