LANG->LC_ALL
Pointed by: ru
This commit is contained in:
parent
d2cce3d6e8
commit
90862ca23d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118449
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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");
|
||||
|
@ -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. && \
|
||||
|
@ -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", \
|
||||
|
@ -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:]].*//'`"
|
||||
|
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user