summaryrefslogtreecommitdiffstats
path: root/c/do
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-29 07:47:31 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-29 07:47:31 +0200
commit173b19110509b3795d8541e493f74c10827743fc (patch)
tree4678cca98224bfefb212ab2aad75f3d336a66148 /c/do
parentcff96405fecf003070e6f8bcc7a7a1757531de80 (diff)
downloadshare-173b19110509b3795d8541e493f74c10827743fc.zip
share-173b19110509b3795d8541e493f74c10827743fc.tar.gz
improve readability in do scripts
Diffstat (limited to 'c/do')
-rwxr-xr-xc/do5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/do b/c/do
index 661ebd2..6b8bc8a 100755
--- a/c/do
+++ b/c/do
@@ -1,6 +1,9 @@
#! /bin/sh
+BROWN="\033[0;33m"
+RESET="\033[0m"
for c in *.c
do
- echo "############" && clang -pedantic -Wall -ldl $c -o ./bin && ./bin
+ echo -e "###> $BROWN${c}$RESET <###" && clang -pedantic -Wall -ldl $c -o ./bin && ./bin
+ echo
done
rm ./bin