Page MenuHomeFreeBSD

D9765.diff
No OneTemporary

D9765.diff

Index: head/usr.bin/vi/catalog/Makefile
===================================================================
--- head/usr.bin/vi/catalog/Makefile
+++ head/usr.bin/vi/catalog/Makefile
@@ -39,7 +39,7 @@
${c}: ${c}.base
echo "... $c"; \
rm -f $c; \
- env LANG=C sort -u ${.ALLSRC} | \
+ env LC_ALL=C sort -u ${.ALLSRC} | \
awk '{ \
if ($$1 == 1) { \
print "\nMESSAGE NUMBER 1 IS NOT LEGAL"; \
@@ -86,13 +86,13 @@
echo =========================; \
echo "MESSAGES WITH THE SAME MESSAGE ID's (FIX!):"; \
for j in \
- `sed '/^$$/d' < $$f.base | LANG=C sort -u | \
+ `sed '/^$$/d' < $$f.base | LC_ALL=C sort -u | \
awk '{print $$1}' | uniq -d`; do \
egrep $$j $$f.base; \
done; \
echo =========================; \
echo "Duplicate messages, both id and message (this is okay):"; \
- sed '/^$$/d' < $$f.base | LANG=C sort | uniq -c | \
+ sed '/^$$/d' < $$f.base | LC_ALL=C sort | uniq -c | \
awk '$$1 != 1 { print $$0 }' | sort -n; \
echo =========================) > $c
.endfor

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 10:47 PM (4 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31937557
Default Alt Text
D9765.diff (1 KB)

Event Timeline