trim Makefile whitespace and fix spaces before tabs
This commit is contained in:
1 parent
13c55ff688
commit
58574544da
7 files changed
+15
-18
No files matched your search
+10
-10
@@ -138,20 +138,20 @@ ${PROG}: dict.h ${PROG}.c
|
||||
dict.h:
|
||||
${RM} -f $@
|
||||
dict="";\
|
||||
for f in mydict ${DICTIONARY};\
|
||||
do if [ -r $$f ]; then dict="$$dict $$f"; fi; \
|
||||
for f in mydict ${DICTIONARY};\
|
||||
do if [ -r $$f ]; then dict="$$dict $$f"; fi; \
|
||||
done; \
|
||||
if [ ".$$dict" = . ]; then \
|
||||
if [ ".$$dict" = . ]; then \
|
||||
echo no dictionary found; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
${CAT} $$dict | \
|
||||
${TR} -cd 'A-Za-z\n' | \
|
||||
${TR} A-Z a-z | \
|
||||
${GREP} -E -v '^[^ais]$$' | \
|
||||
${SORT} | \
|
||||
${UNIQ} | \
|
||||
${SED} 's/^/"/;s/$$/",/' > $@
|
||||
${CAT} $$dict | \
|
||||
${TR} -cd 'A-Za-z\n' | \
|
||||
${TR} A-Z a-z | \
|
||||
${GREP} -E -v '^[^ais]$$' | \
|
||||
${SORT} | \
|
||||
${UNIQ} | \
|
||||
${SED} 's/^/"/;s/$$/",/' > $@
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user