Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153399664
D9765.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D9765.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9765: make vi message catalogues build independent of locale
Attached
Detach File
Event Timeline
Log In to Comment