summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-08-04 21:31:53 +0000
committerache <ache@FreeBSD.org>2003-08-04 21:31:53 +0000
commit26ffc627d866fa1c420017d80fb303184cc8f99e (patch)
tree9ec10501fc28fb7fb5d4adfbf9dd2c38cc13e87a
parentcb188056e62a5c06bc394877c8f8de9d7aaab12a (diff)
downloadFreeBSD-src-26ffc627d866fa1c420017d80fb303184cc8f99e.zip
FreeBSD-src-26ffc627d866fa1c420017d80fb303184cc8f99e.tar.gz
LANG->LC_ALL
Pointed by: ru
-rw-r--r--games/fortune/datfiles/Makefile2
-rw-r--r--gnu/usr.bin/groff/Makefile.inc2
-rw-r--r--lib/libedit/makelist2
-rw-r--r--release/Makefile22
-rw-r--r--sbin/route/Makefile2
-rw-r--r--usr.sbin/amd/include/newvers.sh8
-rw-r--r--usr.sbin/named/Makefile.maninc20
7 files changed, 29 insertions, 29 deletions
diff --git a/games/fortune/datfiles/Makefile b/games/fortune/datfiles/Makefile
index 5779410..38cf7df 100644
--- a/games/fortune/datfiles/Makefile
+++ b/games/fortune/datfiles/Makefile
@@ -37,6 +37,6 @@ fortunes-o.dat: fortunes-o
strfile -Csx ${.ALLSRC} ${.TARGET}
fortunes-o: fortunes-o.${TYPE}
- LANG=C tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET}
+ LC_ALL=C tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/groff/Makefile.inc b/gnu/usr.bin/groff/Makefile.inc
index 6eadfcc..d197751 100644
--- a/gnu/usr.bin/groff/Makefile.inc
+++ b/gnu/usr.bin/groff/Makefile.inc
@@ -125,7 +125,7 @@ revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' $(GROFF_DIST)/REVISION`
-e "s;@VERSION@;$(version)$(revision);g" \
-e "s;@MDATE@;`$(SHELL) ${GROFF_DIST}/mdate.sh $<`;g" \
-e "s;@g@;$(g);g" \
- -e "s;@G@;`echo $(g) | LANG=C tr a-z A-Z`;g" \
+ -e "s;@G@;`echo $(g) | LC_ALL=C tr a-z A-Z`;g" \
$< >$@
.SUFFIXES: .sh .pl
diff --git a/lib/libedit/makelist b/lib/libedit/makelist
index e7ed9ed..3201a14 100644
--- a/lib/libedit/makelist
+++ b/lib/libedit/makelist
@@ -146,7 +146,7 @@ case $FLAG in
#
-fh)
cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
- sort | LANG=C tr 'a-z' 'A-Z' | $AWK '
+ sort | LC_ALL=C tr 'a-z' 'A-Z' | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");
diff --git a/release/Makefile b/release/Makefile
index e2ec337..6d8a89e 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -697,10 +697,10 @@ release.9:
cp ${RD}/trees/base/COPYRIGHT ${RD}/mfsfd/stand/help/COPYRIGHT.hlp
.if !defined(NODOC)
@for i in ${DIST_DOCS_ARCH_INDEP}; do \
- cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
done
@for i in ${DIST_DOCS_ARCH_DEP}; do \
- cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
done
@mv ${RD}/mfsfd/stand/help/INSTALLATION.TXT ${RD}/mfsfd/stand/help/INSTALL.TXT
@mv ${RD}/mfsfd/stand/help/EARLY-ADOPTER.TXT ${RD}/mfsfd/stand/help/EARLY.TXT
@@ -828,12 +828,12 @@ ftp.1:
@cd ${RD}/dists && find . -print | cpio -dumpl ${FD}
.if !defined(NODOC)
@for i in ${DIST_DOCS_ARCH_INDEP}; do \
- cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
- cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.HTM; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.HTM; \
done
@for i in ${DIST_DOCS_ARCH_DEP}; do \
- cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${FD}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
- cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${FD}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.HTM; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${FD}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${FD}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.HTM; \
done
@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${FD}
@mv ${FD}/INSTALLATION.TXT ${FD}/INSTALL.TXT
@@ -869,12 +869,12 @@ cdrom.1:
@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
.if !defined(NODOC)
@for i in ${DIST_DOCS_ARCH_INDEP}; do \
- cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
- cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.HTM; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.HTM; \
done
@for i in ${DIST_DOCS_ARCH_DEP}; do \
- cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${CD_DISC1}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
- cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${CD_DISC1}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.HTM; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${CD_DISC1}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
+ cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${CD_DISC1}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.HTM; \
done
@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
@mv ${CD_DISC1}/INSTALLATION.TXT ${CD_DISC1}/INSTALL.TXT
@@ -972,7 +972,7 @@ doTARBALL:
@rm -rf ${RD}/dists/${TD}/${TN}*
@mkdir -p ${RD}/dists/${TD}
@( cd ${SD} && \
- tn=`echo ${TN} | LANG=C tr 'A-Z' 'a-z' | cut -c1-8` && \
+ tn=`echo ${TN} | LC_ALL=C tr 'A-Z' 'a-z' | cut -c1-8` && \
echo rolling ${TD}/$$tn tarball &&\
tar --exclude CVS --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
${ZIPNSPLIT} ${RD}/dists/${TD}/$$tn. && \
diff --git a/sbin/route/Makefile b/sbin/route/Makefile
index 2e423ee..7e3dd09 100644
--- a/sbin/route/Makefile
+++ b/sbin/route/Makefile
@@ -11,7 +11,7 @@ CLEANFILES+=keywords.h _keywords.tmp
keywords.h: keywords
sed -e '/^#/d' -e '/^$$/d' ${.CURDIR}/keywords > _keywords.tmp
- LANG=C tr 'a-z' 'A-Z' < _keywords.tmp | paste _keywords.tmp - | \
+ LC_ALL=C tr 'a-z' 'A-Z' < _keywords.tmp | paste _keywords.tmp - | \
awk '{ \
if (NF > 1) \
printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \
diff --git a/usr.sbin/amd/include/newvers.sh b/usr.sbin/amd/include/newvers.sh
index d1683cf..bfdbfc8 100644
--- a/usr.sbin/amd/include/newvers.sh
+++ b/usr.sbin/amd/include/newvers.sh
@@ -5,8 +5,8 @@
#
if [ -e $1 ]; then
- eval `LANG=C egrep '^[A-Z]+=' $1 | grep -v COPYRIGHT`
- OS=`echo ${TYPE} | LANG=C tr 'A-Z' 'a-z'`
+ eval `LC_ALL=C egrep '^[A-Z]+=' $1 | grep -v COPYRIGHT`
+ OS=`echo ${TYPE} | LC_ALL=C tr 'A-Z' 'a-z'`
echo '/* Define name and version of host machine (eg. solaris2.5.1) */'
echo "#define HOST_OS \"${OS}${REVISION}\""
echo '/* Define only name of host machine OS (eg. solaris2) */'
@@ -18,10 +18,10 @@ else
cat << __NO_newvers_sh
/* Define name and version of host machine (eg. solaris2.5.1) */
-#define HOST_OS "`uname -s | LANG=C tr 'A-Z' 'a-z'``uname -r`"
+#define HOST_OS "`uname -s | LC_ALL=C tr 'A-Z' 'a-z'``uname -r`"
/* Define only name of host machine OS (eg. solaris2) */
-#define HOST_OS_NAME "`uname -s | LANG=C tr 'A-Z' 'a-z'``uname -r | sed -e 's/\..*$//'`"
+#define HOST_OS_NAME "`uname -s | LC_ALL=C tr 'A-Z' 'a-z'``uname -r | sed -e 's/\..*$//'`"
/* Define only version of host machine (eg. 2.5.1) */
#define HOST_OS_VERSION "`uname -r | sed -e 's/[-([:alpha:]].*//'`"
diff --git a/usr.sbin/named/Makefile.maninc b/usr.sbin/named/Makefile.maninc
index 3814e47..ee91be3 100644
--- a/usr.sbin/named/Makefile.maninc
+++ b/usr.sbin/named/Makefile.maninc
@@ -12,25 +12,25 @@ FORMAT_EXT= 5
DESC_EXT= 7
SYS_OPS_EXT= 8
-EXT_SED_CMD = INDOT_U=`echo "${INDOT}"|LANG=C tr "a-z" "A-Z"`; \
+EXT_SED_CMD = INDOT_U=`echo "${INDOT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export INDOT_U; \
- XFER_INDOT_U=`echo "${XFER_INDOT}"|LANG=C tr "a-z" "A-Z"`; \
+ XFER_INDOT_U=`echo "${XFER_INDOT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export XFER_INDOT_U; \
- CMD_EXT_U=`echo "${CMD_EXT}"|LANG=C tr "a-z" "A-Z"`; \
+ CMD_EXT_U=`echo "${CMD_EXT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export CMD_EXT_U; \
- SYS_OPS_EXT_U=`echo "${SYS_OPS_EXT}"|LANG=C tr "a-z" "A-Z"`; \
+ SYS_OPS_EXT_U=`echo "${SYS_OPS_EXT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export SYS_OPS_EXT_U; \
- LIB_NETWORK_EXT_U=`echo "${LIB_NETWORK_EXT}"|LANG=C tr "a-z" "A-Z"`; \
+ LIB_NETWORK_EXT_U=`echo "${LIB_NETWORK_EXT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export LIB_NETWORK_EXT_U; \
- FORMAT_EXT_U=`echo "${FORMAT_EXT}"|LANG=C tr "a-z" "A-Z"`; \
+ FORMAT_EXT_U=`echo "${FORMAT_EXT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export FORMAT_EXT_U; \
- DESC_EXT_U=`echo "${DESC_EXT}"|LANG=C tr "a-z" "A-Z"`; \
+ DESC_EXT_U=`echo "${DESC_EXT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export DESC_EXT_U; \
- SYSCALL_EXT_U=`echo "${SYSCALL_EXT}"|LANG=C tr "a-z" "A-Z"`; \
+ SYSCALL_EXT_U=`echo "${SYSCALL_EXT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export SYSCALL_EXT_U; \
- BSD_SYSCALL_EXT_U=`echo "${BSD_SYSCALL_EXT}"|LANG=C tr "a-z" "A-Z"`; \
+ BSD_SYSCALL_EXT_U=`echo "${BSD_SYSCALL_EXT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export BSD_SYSCALL_EXT_U; \
- LIB_C_EXT_U=`echo "${LIB_C_EXT}"|LANG=C tr "a-z" "A-Z"`; \
+ LIB_C_EXT_U=`echo "${LIB_C_EXT}"|LC_ALL=C tr "a-z" "A-Z"`; \
export LIB_C_EXT_U; \
sed -e "s/@INDOT@/${INDOT}/g" \
-e "s/@INDOT_U@/$${INDOT_U}/g" \
OpenPOWER on IntegriCloud