From 55db9a39a818e82324e1304e5d886aa2cf137092 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 25 May 2010 12:32:03 +0200 Subject: maint: remove unneeded double quotes on RHS of shell assignments Run this command: git grep -l 'LC_[A-Z]*="' \ | xargs perl -pi -e 's/(LC_[A-Z]*)="(.*?)"/$1=$2/' * src/Makefile.am: Write LC_ALL=$$locale, not LC_ALL="$$locale". * src/date.c (main): Similar, in a comment. * tests/misc/sort-month: Write LC_ALL=$LOC, not LC_ALL="$LOC". --- src/date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/date.c') diff --git a/src/date.c b/src/date.c index c39adb1c2..42f334828 100644 --- a/src/date.c +++ b/src/date.c @@ -450,7 +450,7 @@ main (int argc, char **argv) if (! *format) { /* Do not wrap the following literal format string with _(...). - For example, suppose LC_ALL is unset, LC_TIME="POSIX", + For example, suppose LC_ALL is unset, LC_TIME=POSIX, and LANG="ko_KR". In that case, POSIX says that LC_TIME determines the format and contents of date and time strings written by date, which means "date" must generate output -- cgit v1.2.3-54-g00ecf