Re: Default number of overwrites in shred
Pádraig Brady [EMAIL PROTECTED] writes: A better option I think is to use O_DIRECT, but again portability is going to be the issue here. Shouldn't be a problem. shred already uses O_DIRECT if available. On Solaris, it uses directio(), for the same reason. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
bug in tail
Hello, contrary to documentation and old versions the following commands don't work any longer for new versions of tail, as present in newer versions of Debian and Novell linux: tail -1 *.inp (*.inp gives a list of some files) gives an error (tail: invalid option -- 1). tail --lines=1 *.inp works well tail -1 h2.inp (applied to a single file) works also fine. Regards, Thomas Heine ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: bug in tail
Thomas Heine [EMAIL PROTECTED] wrote: contrary to documentation and old versions the following commands don't work any longer for new versions of tail, as present in newer versions of Debian and Novell linux: tail -1 *.inp (*.inp gives a list of some files) gives an error (tail: invalid option -- 1). ... Thanks for the report, but this aspect of tail depends on the version of tail you're using and possibly on your environment settings. Using the latest (coreutils-6.9) version, with no setting for _POSIX2_VERSION in your environment, it should work just fine: $ env -u _POSIX2_VERSION -- /usr/bin/tail -1 /etc/issue $ tail --version|head -n1 tail (GNU coreutils) 6.9 ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: YYYYMMDD HHMMSS [TZ] ?
It already supports -MM-DD HH:MM:SS (also with TZ). I know, and I am glad, but as I wrote in my original message, the forms without punctuation would also be useful (to me anyway) to support. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: YYYYMMDD HHMMSS [TZ] ?
Karl Berry wrote: It already supports -MM-DD HH:MM:SS (also with TZ). I know, and I am glad, but as I wrote in my original message, the forms without punctuation would also be useful (to me anyway) to support. The punctuation is already optional: $ date -d 20070508\ 1406 Tue May 8 14:06:00 PDT 2007 -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: YYYYMMDD HHMMSS [TZ] ?
Micah Cowan wrote: Karl Berry wrote: It already supports -MM-DD HH:MM:SS (also with TZ). I know, and I am glad, but as I wrote in my original message, the forms without punctuation would also be useful (to me anyway) to support. The punctuation is already optional: $ date -d 20070508\ 1406 Tue May 8 14:06:00 PDT 2007 The original post also talked about seconds... $ date -d 20070508\ 14:06:25 Tue May 8 14:06:25 PDT 2007 $ date -d 20070508\ 140625 date: invalid date `20070508 140625' $ date --version date (GNU coreutils) 6.9 -- Matthew Please remain calm... I may be mad, but I am a professional. -- Mad Scientist ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
who is not wide-character aware
Hello, I'm working on Czech translation for coreutils. I've found out that if I use UTF-8 locale and I translate the headers using wide characters, then the heading of who command (who -H) will be badly aligned. And even some headers can disappear. I noticed this bug in coreutils-6.9 in locale cs_CZ.UTF-8 and messeages in Czech PO catalogue like: #: src/who.c:551 msgid TIME msgstr ČAS Headers following header _(TIME) are shifted to left. More wide characters in traslatation shift the headers more left and after excedening a number of them some headers are not visible. It seems that print_line() in src/who.c counts bytes instead of characters. -- Petr Pisar pgpNy25nh6GSB.pgp Description: PGP signature ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: who is not wide-character aware
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 5/8/2007 4:41 PM: Hello, I'm working on Czech translation for coreutils. I've found out that if I use UTF-8 locale and I translate the headers using wide characters, then the heading of who command (who -H) will be badly aligned. And even some headers can disappear. I noticed this bug in coreutils-6.9 in locale cs_CZ.UTF-8 and messeages in Czech PO catalogue like: #: src/who.c:551 msgid TIME msgstr ČAS Headers following header _(TIME) are shifted to left. More wide characters in traslatation shift the headers more left and after excedening a number of them some headers are not visible. It seems that print_line() in src/who.c counts bytes instead of characters. Thanks for the report. This is yet another instance of the more general bug that coreutils is not wide-character aware. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGQRPg84KuGfSFAYARAp0jAKCEMRrNCyAe66/jfoETCxUSq7GvyACgx+3f XjhDjUkHYLd2Wq5p7P8bOfc= =IP0g -END PGP SIGNATURE- ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils