date validator
Regarding some RISKS postings that bear not so standard Dates, causing some browsing systems to read them as Jan 1 1970, etc., > "R" == RISKS List Owner <[EMAIL PROTECTED]> writes: R> How do we address this? We need to get every mailer in the world R> compliant... Well, we could pump all dates thru the very tolerant date --rfc-2822 -f to standardize them, but that would lose the colorful original timezone flavor. We could write a regexp to see if they match RFC 2822, etc. A web search shows some "date validator" matches... I know, let's forget the issue, but suggest to (CC'd) coreutils that they add a date --validate or --check functionality, like sort --check. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: French accents
On Thu, Aug 28, 2008 at 5:51 PM, Dr. Aprahamian <[EMAIL PROTECTED]> wrote: > > Hello, > I am having difficulty with file names that have French accents. > For example the file.- > AfficheJourn\351e\311tudeP\350reaveclogos-1.pdf > exists but because it has the French e accent in its title the programme is > not recognizing it. > What to do? Unfortunately you have not provided enough information for us to help you. You didn't indicate what program you used, how you used it, what result you expected, or what result you got. You mention a programme without identifying it, so I am somewhat at a loss to understand what problem you are describing. Please try to be more specific when asking for help. At this stage my best guess is that you have configured your system for the UTF-8 character set, but your filename is actually in ISO-8859-1 or a related character set. But in the absence of detail, this is just supposition. James. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: French accents
Dr. Aprahamian wrote: > It's the PuTTY.exe that is not recognizing the French accents. Your > e-address was given for help. > Sorry for the inconvenience, The PuTTY.exe home page is: http://www.chiark.greenend.org.uk/~sgtatham/putty/ See their Feedback section on reporting issues with PuTTY. Bob ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: getgid --help
getgid usage is invalid, mentions FILE while really it should be NAME: $ getgid --help Usage: getgid [OPTION]... [FILE]... Prints ID of given group name. --help display this help and exit --version output version information and exit Report bugs to . $ getgid /dev/null getgid: cannot find group name `/dev/null' $ coreutils: 6.12 Not sure what version of coreutils this is, but the one from the GNU project does not have a command called getgid. Maybe you GNU/Linux distributor added such a command? You should report the bug there, and a bug that the mail address where to report bugs is incorrect. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
getgid --help
hi getgid usage is invalid, mentions FILE while really it should be NAME: $ getgid --help Usage: getgid [OPTION]... [FILE]... Prints ID of given group name. --help display this help and exit --version output version information and exit Report bugs to . $ getgid /dev/null getgid: cannot find group name `/dev/null' $ coreutils: 6.12 -- glen ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: French accents
Hello, Thanks for the reply. It's the PuTTY.exe that is not recognizing the French accents. Your e-address was given for help. Sorry for the inconvenience, sima --- Sima Aprahamian, Ph.D. Sociology-Anthropology & Simone de Beauvoir Institute Concordia University 1455 de Maisonneuve W. Montreal (Quebec) H3G 1M8 E-mail: [EMAIL PROTECTED] On Fri, 29 Aug 2008, Philip Rowlands wrote: On Thu, 28 Aug 2008, Dr. Aprahamian wrote: I am having difficulty with file names that have French accents. For example the file.- AfficheJourn\351e\311tudeP\350reaveclogos-1.pdf exists but because it has the French e accent in its title the programme is not recognizing it. Which programme is not recognizing it? You've emailed bug-coreutils, which is a list for GNU coreutils discussion. If the problem lies with a different application, we probably won't be able to help. What to do? Please phrase the problem in a way that helps us to reproduce it. At a minumum, always consider the following questions when asking for support: - What did you do? - What happened? - What did you expect to happen? Cheers, Phil ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
FYI, bootstrap tweak
[I'm about to propagate this and a couple of other changes into gnulib's build-aux/bootstrap. ] With the addition of a gnulib test file matching tests/*/test-*.sh (gnulib-tests/uniwidth/test-uc_width2.sh) "make check" broke because the copied shell script was no longer executable. Tracking that down exposed a bug in the bootstrap script. This fixes it and removes a kludgey work-around that's no longer needed. >From f03a67735a3143ff684fc0ddf4d4c4477019f079 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[EMAIL PROTECTED]> Date: Tue, 26 Aug 2008 18:43:52 +0200 Subject: [PATCH] bootstrap: preserve permissions of more copied files * bootstrap (cp_mark_as_generated): Preserve perms of copied files. Remove a kludge, now that this is fixed. --- bootstrap |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bootstrap b/bootstrap index faa9bab..a3bee61 100755 --- a/bootstrap +++ b/bootstrap @@ -383,9 +383,13 @@ cp_mark_as_generated() if test -z "$c1"; then cmp -s "$cp_src" "$cp_dst" || { + # Copy the file first to get proper permissions if it + # doesn't already exist. Then overwrite the copy. echo "$0: cp -f $cp_src $cp_dst" && rm -f "$cp_dst" && - sed "s!$bt_regex/!!g" "$cp_src" > "$cp_dst" + cp "$cp_src" "$cp_dst-t" && + sed "s!$bt_regex/!!g" "$cp_src" > "$cp_dst-t" && + mv -f "$cp_dst-t" "$cp_dst" } else # Copy the file first to get proper permissions if it @@ -610,7 +614,4 @@ m=gnulib-tests/gnulib.mk sed 's,\.\./\.\.,..,g' $m > $m-t mv -f $m-t $m -# Make tests executable. -chmod a+x gnulib-tests/test-*.sh - echo "$0: done. Now you can run './configure'." -- 1.6.0.1.90.g27a6e ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: [PATCH] use new global, "Version", rather than macro, VERSION
Eric Blake <[EMAIL PROTECTED]> wrote: ... > Your patch meets the stated goal, so I think it's fine to check in. If > nothing else, it made me investigate using ccache on my machine. Thanks for the review. ccache is well worth using. I find that even on relatively small projects, the ccache-induced speed-up is noticeable. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: French accents
On Thu, 28 Aug 2008, Dr. Aprahamian wrote: I am having difficulty with file names that have French accents. For example the file.- AfficheJourn\351e\311tudeP\350reaveclogos-1.pdf exists but because it has the French e accent in its title the programme is not recognizing it. Which programme is not recognizing it? You've emailed bug-coreutils, which is a list for GNU coreutils discussion. If the problem lies with a different application, we probably won't be able to help. What to do? Please phrase the problem in a way that helps us to reproduce it. At a minumum, always consider the following questions when asking for support: - What did you do? - What happened? - What did you expect to happen? Cheers, Phil ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils