bug#60989: [PATCH] rm: fail on duplicate input if force not enabled

2023-01-22 Thread Philip Rowlands
On Sat, 21 Jan 2023, at 13:05, Łukasz Sroka wrote: > When the input files contain duplicates, then the rm fails. Because > duplicates occur most often when the * is used and the shell unwraps it. > There is a very common scenario when a user accidentally enters space > after a

bug#45695: Date does not work for dates before 1970

2021-01-06 Thread Philip Rowlands
On Wed, 6 Jan 2021, at 16:34, zed991 wrote: > On linux, I can use date +%s --date "31 Dec 1969" > The result is -9 > A negative number > > But when I try it on Windows (using GNUWin32) it gives me an error - > "invalid date" > > I downloaded date for windows from this link - >

bug#45057: Date has issues with some months in Norwegian

2020-12-05 Thread Philip Rowlands
On Sat, 5 Dec 2020, at 15:00, Odne Hellebø wrote: > But this doesn't work for months may, october, and desember > export LANG=nn_NO.utf8 > for i in {01..12} > do > mnd=$(date -d "2020-$i-01" +%B) > date -d "01-${mnd:0:3}-2020" +%B > done This is documented behaviour:

bug#44240: coreutils 8.30-3ubuntu2 "date" command doesn't like one specific date: 2020-09-06

2020-10-26 Thread Philip Rowlands
On Mon, 26 Oct 2020, at 15:14, Leo Wandersleb wrote: > for some reason I get an error with one specific date but not with others: > > $ for i in 08 09 10; do for j in 5 6 7; do d="2020-$i-0$j"; echo $d $( date > -d"$d" ); done; done > 2020-08-05 Wed 05 Aug 2020 12:00:00 AM -04 > 2020-08-06 Thu 06

bug#43497: ls exit status on removed directory

2020-09-18 Thread Philip Rowlands
Steps to reproduce: $ mkdir /tmp/abc $ cd /tmp/abc $ rmdir /tmp/abc $ ls What happened: no output, successful exit status What was expected: no output, unsuccessful exit status ls tried to list the contents of . but failed to do so, at least on Linux: open(".",

bug#43235: Xeoma Docker Container Bug reporting to GNU.org

2020-09-06 Thread Philip Rowlands
On Sun, 6 Sep 2020, at 06:08, Scott Carter wrote: > *tail: unrecognized file system type 0x794c7630 for ‘/var/log/syslog’. > please report this to bug-coreutils@gnu.org . Recent versions of tail now take this upstream source filesystem types from

bug#33281: head does not consume input after '-c' is satisfied

2018-11-05 Thread Philip Rowlands
On Mon, 5 Nov 2018, at 20:30, Luiz Angelo Daros de Luca wrote: > > Once head read enough bytes to satisfy -c option, it stops reading input > and quit. > This is different from what -n does and it is also different from both > FreeBSD and busybox head implementation. > > With GNU Coreutils head:

bug#25567: unrecognized file system type 0x53464846 for ‘letsencrypt.log’

2017-01-29 Thread Philip Rowlands
On 29/01/2017 08:59, Bernhard Voelker wrote: Thanks for the report, however, the fix is already available in a newer release (v8.26). P.S. This type of bug report is kind of getting boring:

bug#14963: The values for the same file-system differ depending on the file tested

2013-07-30 Thread Philip Rowlands
On 27/07/2013 00:24, Zahariev, Boris wrote: ~]$ sudo df -h /nfs/eq-fas3240-001a/vol/a0content1/rcuvb/ FilesystemSize Used Avail Use% Mounted on eq-fas3240-001a:/vol/a0content1 549G 501M 549G 1% /nfs/eq-fas3240-001a/vol/a0content1 ~]$ sudo df -h

bug#13391: dd silently ignores lseek error

2013-01-09 Thread Philip Rowlands
From ea524ab7388bb35e591dcdb0fc7f7989d61143ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= p...@draigbrady.com Date: Wed, 9 Jan 2013 00:42:38 + Subject: [PATCH] dd: add [io]flag=seekable to verify file support for lseek * src/dd.c: Add the new O_SEEKABLE flag. (main):

bug#10819: [BUG][RM]

2012-02-16 Thread Philip Rowlands
On 16/02/2012 18:58, Eric Blake wrote: so that we could simplify a bunch of automake recipes); but a more extensive probing is needed in this matter I guess. And if you are right (as I hope), then this 'rm' feature could be documented in the Autoconf manual. Yep, I think that's appropriate,

Re: bug about date

2010-03-08 Thread Philip Rowlands
On Mon, 8 Mar 2010, gaosh wrote: I use the command: date +%Y%m%d%H -d 1990-04-13 12 36 hours But I get the result: 1990041501 ! The correct one should be 1990041500. The result depends on your system's local timezone, which I assume is set to Asia/Shanghai or equivalent Chinese location.

Re: wc user error?

2010-02-21 Thread Philip Rowlands
On Sat, 20 Feb 2010, Faheem Mitha wrote: I'm puzzled by this. What am I missing here? Regards, Faheem. fah...@avicenna:/home/cj35$ wc -l snpdb/illumina_cj35.fg_40101.map 620902 snpdb/illumina_cj35.fg_40101.map fah...@avicenna:/home/cj35$ wc -l

Re: please fix the output of du -h

2010-02-11 Thread Philip Rowlands
On Thu, 11 Feb 2010, dh-b...@online.de wrote: using -h with du on a directory tree can produce results several gigabytes *below* the actual value. this is quite annoying (and just plain wrong), especially when trying to burn a cd/dvd. du -h doesn't do what you expect. Quoting the manual:

Re: BUG: date 7.1 - reading date string

2010-02-04 Thread Philip Rowlands
On Thu, 4 Feb 2010, Klaus Bramstedt wrote: I used the command date -d $DATE for almost all dates between Aug 2002 end Jan 2010 in a script. Date has a format like this 2003-03-30 02:08:17 However, 7 of 42048 randomly distributed dates in the list failed: date: ungültiges Datum „2003-03-30

Re: coreutils 8.x causes installwatch to not track symlinks

2010-02-02 Thread Philip Rowlands
On Tue, 2 Feb 2010, Eric Sandall wrote: With coreutils 8.x (8.0 through 8.4) using installwatch to track files breaks on symlinks. See http://bugs.sourcemage.org/show_bug.cgi?id=15559 for more details. Reverting to coreutils 7.6 allows installwatch to again track symlinks. Reading through

Re: expr exit status

2010-01-20 Thread Philip Rowlands
On Wed, 20 Jan 2010, salih k wrote: add_num=`expr $int_num + 1 1/dev/null 21` if [ $? -ne 0 ] some case exit status is 1552 for expr even though the argument is integer This cannot be true, as the exit status exposed through the $? shell variable is limited to the range 0-255. For

Re: expr exit status

2010-01-20 Thread Philip Rowlands
On Wed, 20 Jan 2010, salih k wrote: Now shall I explain again (sorry:)) actually the issue is rare and never happened in unix .So am curious on this. never happened in unix? Which OS and shell are you using? Now my query is why these exit status (254 or 16) are coming during the first run

Re: new snapshot available: coreutils-8.2.52-4db2f

2010-01-05 Thread Philip Rowlands
On Tue, 5 Jan 2010, Jim Meyering wrote: Here's the NEWS, then shortlogs for coreutils and gnulib: ** Bug fixes [snip] tail -F (inotify-enabled) would abort when a tailed file is repeated renamed-aside and then recreated. [bug introduced in coreutils-7.5] Should that be repeatedly?

Re: a problem about -regen_schema_file

2009-11-16 Thread Philip Rowlands
On Mon, 16 Nov 2009, Feng Jin wrote: I am a user of Teamcenter engineering V9.02. now I have a problem about -regen_schema_file. [snip] c:\temp\tcenginstall -regen_schema_file -u=infodba -p=infodba -g=dba install: invalid option -- r Try `install --help' for more information. You have

Re: FW: +N option in tail command

2009-11-11 Thread Philip Rowlands
On Wed, 11 Nov 2009, נחשון ישורון/Nachshon Yeshurun wrote: Man pages for the tail command shows the ability to use the +N option. Yet, attempting it on Ubuntu 9.10 results in an error. Is this a bug? Not a bug. From man pages: -n, --lines=N output the last N lines,

Re: date

2009-11-03 Thread Philip Rowlands
On Mon, 2 Nov 2009, Escarrilla, Harold wrote: /u/hescarri 29$ date -d2009-10-30 + 3 days Sun Nov 1 23:00:00 EST 2009 It should be Nov 2. I can't reproduce this, but it can't be a coincidence that daylight saving rules switched last weekend in America/New_York, and the given query spans

Re: Problem with sort command

2009-11-02 Thread Philip Rowlands
On Mon, 2 Nov 2009, Justin White wrote: I have been using the sort command for years with a syntax as follows: cat $file | sort -t, +1 This is addressed in the FAQ: http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Old-tail-plus-N-syntax-now-fails In short, sort is treating +1 as

Re: please verify

2009-10-06 Thread Philip Rowlands
On Mon, 5 Oct 2009, Chandan Kumar wrote: I am getting some faults while doing CAL command, cal is not part of GNU coreutils. i.e. i am getting some leap years in case of non-leap years i.e. the years like 1000,500,1500,1700 etc 1700 is a leap year, and leap years predating 1582 (the

Re: Problem with Firefox closing abruptly

2009-09-28 Thread Philip Rowlands
On Mon, 28 Sep 2009, David Weeks wrote: I'm new to Ubuntu and also can't seem to get other Flash content to function properly. [snip] PS - found your email in the Konsole help area. Bingo.

feature request: sleep --random

2009-09-18 Thread Philip Rowlands
This would help with some work I'm doing today, but is it of general interest? $ sleep --random 4.0 sleeps for a random amount of time up to and including the requested value. The purpose is that on distributed systems it's disruptive to have synchronized scripts all starting up together.

Re: feature request: sleep --random

2009-09-18 Thread Philip Rowlands
On Fri, 18 Sep 2009, Pádraig Brady wrote: Pádraig Brady wrote: sleep $(seq .1 .1 4 | head -n $(($RANDOM%40 +1)) | tail -n1) Or more concisely using just coreutils logic: sleep $(seq .1 .1 4 | shuf | head -n1) This still has the quantization effects which I'm trying to avoid. Jim's perl

Re: Seq Segment Fault.

2009-09-18 Thread Philip Rowlands
On Fri, 18 Sep 2009, Eric Blake wrote: However, it seems to me that your problem is that bash tries to slurp all of $() into memory, and seq generated so much data that bash ran out of memory (or overflowed its stack). It's certainly possible for bash to run out of stack and crash with

seq, why so slow?

2009-09-07 Thread Philip Rowlands
The conversion of everything to long doubles internally makes seq a lot slower than it needs to be in integer cases, I assume from the use of floating-point multiplication for every line of output: seq.c:257 x = first + i * step; $ time seq 100 /dev/null real0m1.616s user

Re: the unicode arrow

2009-09-07 Thread Philip Rowlands
On Mon, 7 Sep 2009, Eric Blake wrote: This was discussed last month. The verdict is no. http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00048.html This list archive has done strange things with character encodings which make the discussion difficult to follow. Something along the

Re: -T option help text

2009-08-31 Thread Philip Rowlands
On Sun, 30 Aug 2009, James R. Van Zandt wrote: For the help text, here are some alternatives: if DEST is a directory, then delete it first This isn't what -T does. If DEST is an empty directory then it's overwritten with the rename(2) system call. Otherwise mv will fail e.g. if SOURCE

Re: broken link

2009-08-31 Thread Philip Rowlands
On Mon, 31 Aug 2009, Jim Meyering wrote: Can anyone suggest a replacement? This is the same content, and references the expita.com URL as the source: http://stagecraft.theprices.net/nomime.html Cheers, Phil

Re: sort -R not working

2009-08-27 Thread Philip Rowlands
On Thu, 27 Aug 2009, Barty Pleydell-Bouverie wrote: sort -R fails to randomly sort files. I am using fedora8 - any known reason for this? Fedora 8 was declared end-of-life (i.e. unsupported) on January 7, 2009. Can you reproduce this problem either with a current Fedora release, or with

Re: AW: AW: AW: AW: AW: new snapshot available: coreutils-7.4.125-eca6

2009-08-19 Thread Philip Rowlands
On Wed, 19 Aug 2009, Voelker, Bernhard wrote: somehow, my shell (/bin/ksh) doesn't like the { ... } syntax here: $ cd src { touch a b; mode3=2755; ./ginstall -Cv -m$mode3 a b } it waits for the command to be continued ... I can't see why That's not quite valid (POSIX) sh, which requires

Re: Enhacement request - 'date' util

2009-08-13 Thread Philip Rowlands
On Wed, 12 Aug 2009, Alejandro Redondo wrote: Well, the first clock set, when ntpd starts, is made in just one step. This can be a problem when the client host is several seconds different than the ntp server. Stepping versus slewing can be configured in ntpd. By default small time offsets

Re: no feedback on snapshot? coreutils-7.5 coming soon

2009-08-12 Thread Philip Rowlands
On Wed, 12 Aug 2009, Jim Meyering wrote: AFAIK, I am the only one who has built the latest snapshot: http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/17604 Though it's been only two days. Unless I hear of new bug reports or portability problems soon, expect coreutils-7.5 to be

Re: Report a bug in the ln command

2009-08-08 Thread Philip Rowlands
On Sat, 8 Aug 2009, Laemmerhirt, Kai wrote: in the already existing directory /srv/backup/home I wanted to create a link for the user eddi to eddis home directory for data backup reasons. In order not to change into the target directory I used the following command: ln -sf /home/eddi

Re: [PATCH] ls: Use pretty UTF-8 arrow when showing where symlinks point to

2009-08-06 Thread Philip Rowlands
On Thu, 6 Aug 2009, Lennart Poettering wrote: Diego Petten? complained that ls -l doesn't use the UTF-8 arrow character to show where symlinks point to. This tiny patch fixes that. With this applied the character is used when the CODESET is UTF-8 otherwise we fall back to the traditional -

Re: Bug report for date

2009-07-28 Thread Philip Rowlands
On Tue, 28 Jul 2009, Paul Grinberg wrote: Gives me correct date: [ctpsmg11-dcdhealth@/opt/app/dcdhealth] # TZ=EDT+150 date Wed Jul 22 12:27:15 EDT 2009 Gives me incorrect date: [ctpsmg11-dcdhealth@/opt/app/dcdhealth] # TZ=EDT+172 date Tue Jul 28 18:27:09 GMT 2009 Basically I cannot go back

RE: Bug report for date

2009-07-28 Thread Philip Rowlands
On Tue, 28 Jul 2009, Paul Grinberg wrote: Shell script for SolarisIt can go future as long as I want, but past only 6 days

Re: bug in cp -r command

2009-07-13 Thread Philip Rowlands
On Mon, 13 Jul 2009, Sourav Chakraborty wrote: Cp -r does not work if wild card entries are specified. Basically, it copies all files, and ignores the wildcard entries. cp doesn't know about wildcards; they are a shell construct. Please see the FAQ at http://tinyurl.com/59ovg cp -r

Re: date bug

2009-07-08 Thread Philip Rowlands
On Tue, 7 Jul 2009, David wrote: whist using date in a bash script there seems to be a problem returning the hour for 09:20 t_hr=$(date +%l) (small L) does not return 9 from 09:20 or any time between 09:00 and 09:30 t_hr=$(date +%-I) works fine I needed the hour with out the padded zero

Re: bug found from ls command

2009-07-07 Thread Philip Rowlands
On Mon, 6 Jul 2009, PG wrote: r...@system76-pc:/home/xinwei/bugreport# ls -l total 4 d---r--r-- 2 root root 4096 2009-07-05 13:27 protected xin...@system76-pc:~/bugreport$ ls -l protected/ ls: cannot access protected/canttouchthis: Permission denied total 0 -? ? ? ? ?

Re: Want to contribute to Open Source.

2009-06-30 Thread Philip Rowlands
On Tue, 30 Jun 2009, VIKAS wrote: Myself Vikas from India, i'm working as SQA in one of the big brand company. I want to contribute to open source by doing some work for GNU. Could you please guide me how can i contribute to GNU ? Hi Vikas, This page is probably the best place to start:

Re: copyright years: mass-update every January 1

2009-06-25 Thread Philip Rowlands
On Thu, 25 Jun 2009, Jim Meyering wrote: Karl Berry just mentioned that it's now considered fine (recommended, even) to update all copyright lists to include the new year on January 1. I realise this list may not be the right place for GNU policy discussion, but how will this affect the

Re: copyright years: mass-update every January 1

2009-06-25 Thread Philip Rowlands
On Thu, 25 Jun 2009, Jim Meyering wrote: migration of coreutils works into the public domain I know of no such plan. I'm refering to the copyright term limits which apply to all works, not a specific plan for coreutils. Cheers, Phil ___

Re: copyright years: mass-update every January 1

2009-06-25 Thread Philip Rowlands
On Thu, 25 Jun 2009, Alfred M. Szmidt wrote: It doesn't affect it at all, if you use a version of coreutils from 1980, then the copyright term will be from that date. If you use a version from 2100 then it will be from that date. OK, but taken separately the files have/had dates to indicate

Re: MAJOR Putty bug

2009-06-15 Thread Philip Rowlands
On Mon, 15 Jun 2009, Derrick Manor wrote: I am using, or trying to use Putty to change a file ownership on an Apache server. However, the chown command does not work. Tells me there is no such directory or file There's not enough information to tell what's causing the problem here. Please

Re: MAJOR Putty bug

2009-06-15 Thread Philip Rowlands
[ re-adding bug-coreutils to keep discussion on-list ] On Mon, 15 Jun 2009, Derrick Manor wrote: sorry: using this basic command: chown username home/username/public_html/path_to_directory You've used example usernames and file paths here. Please give the exact command as it's typed, and

Re: wish: cp: output some sort of message if copying was interrupted

2009-06-05 Thread Philip Rowlands
On Fri, 5 Jun 2009, Elmar Stellnberger wrote: Yes that will be a good solution for the usage of cp within shell scripts. However in most cases I invoke cp directly via the command line so that it is somehow awkward and very easy to forget having to issue always an extra command that tests for

Re: wish: cp: output some sort of message if copying was interrupted

2009-06-01 Thread Philip Rowlands
On Sun, 24 May 2009, Elmar Stellnberger wrote: If I issue a 'cp -a' on one konsole and a 'killall -s SIGINT cp' on another konsole cp -a will terminate just as if it had finished copying. Not quite; the exit status passed to the calling process will show the signal used to terminate cp.

Re: mv italian translation

2009-04-30 Thread Philip Rowlands
On Thu, 30 Apr 2009, Stefano Mersi wrote: when trying to move a diretcory into itself the progam says in italian: mv: impossibile spostare myDir in una sottodirectory di sé stessa, myDir/myDir There is a grammar error: sé stessa should become se stessa Please report translations bugs here:

Re: factor is too fast

2009-04-21 Thread Philip Rowlands
On Tue, 21 Apr 2009, Toralf F?rster wrote: For a long time I used the command factor to test my system WRT the cpu ondemand governor of the linux kernel, eg for issues like this : http://bugzilla.kernel.org/show_bug.cgi?id=12385 However switching from coreutils-6.10 to 7.1 (stable Gentoo

Re: bug report

2009-03-30 Thread Philip Rowlands
On Fri, 27 Mar 2009, Mary wrote: I just downloaded the new beta afor 9.04 and had the following experience. For the benefit of the list, I've been trying to help to identify the source of Ubuntu queries by replying helpfully to address the question as well as asking where

Re: Did I found a bug in ls?

2009-03-10 Thread Philip Rowlands
On Sun, 8 Mar 2009, Major P?ter wrote: The main problem with du is, that it doesn't care with users, so I need a find before (using the -user will solve the problem). But I can't use du `find ...` because it will contain the subfolders too, so it will duplicate, and the measure won't be

Re: Did I found a bug in ls?

2009-03-10 Thread Philip Rowlands
On Tue, 10 Mar 2009, Major Péter wrote: But here is some list-related problems of mine: ls: If it has a null parameter e.g. in find blah -print0 | xargs -0 ls find gives no hit, the ls writes on the output (maybe on error output, I'm not sure) a message, that incorrect argumentum has camed,

Re: Did I found a bug in ls?

2009-03-08 Thread Philip Rowlands
On Sun, 8 Mar 2009, Major Péter wrote: I would like to list some folders with they block-sizes, but only specific folders am I interested. So I would like to use find to list the correct folders for me: ls `find . -type d -user foo -name *` this is not working because ls can't find folders

Re: code retour de test -s incorrect.

2009-03-05 Thread Philip Rowlands
On Thu, 5 Mar 2009, Marc POIRIER wrote: # ls # NOM.htm - En minuscules # [ -s NOM.HTM ] # echo $? # 0 - Devrait indiquer 1 What is the output of the following command (on Linux)? # strace -e trace=file [ -s NOM.HTM ] Cheers, Phil

Re: ls (GNU coreutils) 6.12 bug: -d or --directory switch broken

2009-02-26 Thread Philip Rowlands
On Thu, 26 Feb 2009, gero...@bluewin.ch wrote: I installed this version of coreutils to get proper accent support in french pathnames, but the ls command for managing directories silently fails. Could you give an example of the exact command you ran, what output was generated, and what

Re: wc enhancement request: total option

2009-02-13 Thread Philip Rowlands
On Fri, 13 Feb 2009, Kevin Ivory wrote: Hi coreutils team, wc gives a grand total when analyzing several files. It would be helpful to have a command line option that returns only the total. It should be able to combine with -c/-l/-w to return only the total characters / total lines / total

Re: seq -w floating point incorrect formating

2009-02-13 Thread Philip Rowlands
On Sat, 14 Feb 2009, Samuel Hap?k wrote: I think that seq is not behaving correctly on this input: seq -w 9 0.5 10 I obtain the output: 9.0 9.5 10.0 While I think I should obtain: 09.0 09.5 10.0 From the info documentation: `-w' `--equal-width' Print all numbers with the same width,

Re: ls -help not accurate

2008-12-29 Thread Philip Rowlands
On Mon, 29 Dec 2008, John Bowling wrote: ls -d returns only '.' Per your faq this is the designed in operation ls --help does not reflect that operation: -d, --directorylist directory entries instead of contents, and do not dereference symbolic links

Re: bug

2008-12-13 Thread Philip Rowlands
On Sat, 13 Dec 2008, punk wrote: /dev/sda5 65G 43G 22G 67% /media/disk-1 p...@punk-desktop:~$ df -h --h df: option '--h' is ambiguous This is correct, not a bug. Both --help and --human-readable long options match the prefix you gave. Cheers, Phil

Re: WebSphere UpdateInstaller 7.0

2008-12-11 Thread Philip Rowlands
On Wed, 10 Dec 2008, Duttera, Scott CIV DISA GS4B wrote: We are trying to install the WebSphere UpdateInstaller 7.0 on a Linux image under z/VM, and we have extracted the .tar files into a directory, but when we run the install command we get this: install: missing file operand Try `install

Re: Bug in uname

2008-12-09 Thread Philip Rowlands
On Mon, 8 Dec 2008, Eric Blake wrote: The information contained in this e-mail may be privileged and/or Sending mail from an account that adds a disclaimer longer than the body of your message is considered poor netiquette. This disclaimer is unenforceable on a publicly archived mailing

Re: Why not enhance sort to handle floating point numbers?

2008-11-08 Thread Philip Rowlands
On Fri, 7 Nov 2008, Steve Wald wrote: It would be real handy if sort had an option analogous to -n which would properly handle columns of exponential notation numbers, e.g. -9.575e-08, or even if the -n option itself would detect and sort them. Much of my data is mixed exponential and decimal

Re: FAIL: df/total-awk.log

2008-10-11 Thread Philip Rowlands
On Sat, 11 Oct 2008, Jim Meyering wrote: Actually, that might be due to something else. What version of awk are you using? With the versions of gawk I've tried (3.1.5 and 3.1.6), it doesn't use the offending format: $ awk 'BEGIN {print 2607560286}' 2607560286 Ah ha! But if i use mawk, it

Re: shorttest crash

2008-09-23 Thread Philip Rowlands
On Tue, 23 Sep 2008, Konrad Mader wrote: if I try a short test the HDD switched off until a new power off/on. [EMAIL PROTECTED] smartctl -t short /dev/sda -d ata smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is

Re: Bug in command test

2008-09-18 Thread Philip Rowlands
On Thu, 18 Sep 2008, Abhishek Verma wrote: I have been training UNIX for a few months, and have come across a bug (I guess so) With test command. The problem is, with -f option it reports a symbolic link as a regular file. For ex: say there is a file f1 of type symbolic link, then

Re: French accents

2008-08-29 Thread Philip Rowlands
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

Re: coreutils: bug in date --iso-8601={seconds,ns}?

2008-08-22 Thread Philip Rowlands
On Fri, 22 Aug 2008, Johannes Truschnigg wrote: in thre process of writing an Atom-feed-generator in bash, I discovered what MIGHT be a bug/documentation misinterpretation in GNU date's --iso-8601 switch when invoked with ns or seconds as a parameter. --iso-8601 is deprecated since coreutils

Re: rm opensolaris ntfs-3g problem

2008-08-11 Thread Philip Rowlands
On Sun, 10 Aug 2008, Andras Barna wrote: on opensolaris (update 94) can't remove recursively directories. @osol /ntfs: /usr/gnu/bin/mkdir -p t/t/t/t/t/t/t/t/t/t//t/t///t//t/t/t/ @osol /ntfs: /usr/gnu/bin/rm --version|head -1 rm (GNU coreutils) 6.7 @osol /ntfs: rm -rf t rm: cannot remove

Re: Fw: chroot: error...!!!

2008-08-03 Thread Philip Rowlands
[ other cc: recipients removed ] On Sun, 3 Aug 2008, ~*~ Its Lucky ~*~ wrote:  My name is Lucky, i am building the LFS, now i am at Section 6.4 of LFS-6.2, When i am going to run the following command to change the root, i got the error The Command is ===

Re: [PATCH] Again, do not change the mode of all directories below $HOME.

2008-07-22 Thread Philip Rowlands
On Tue, 22 Jul 2008, Ralf Wildenhues wrote: * tests/CuTmpdir.pm (chmod_tree): Do not run chmod on undefined argument, can happen when the build path contains spaces. That sounds wrong - there's no magic to unusual characters in filenames other than avoiding passing them unquoted through an

Re: cd command issue

2008-07-11 Thread Philip Rowlands
On Thu, 10 Jul 2008, Janarthanan Palanichamy wrote: Hi GNU coreutils, Today I just tried cd ~tabspace . After entering this in the terminal it became unable to delete the ~ symbol meaning the backspace key, enter key , right arrow marks are not detected and the user have to use the ctrl-c to

Re: cp -v doesn't work correctly under file system mounted through FUSE

2008-07-11 Thread Philip Rowlands
(apologies if my mailreader mangles your name - I can't easily write in BIG-5) On Thu, 10 Jul 2008, ¬x¥ô¿Ù wrote: Normally, cp -rv files log should list all the files copied in the file 'log'. However, when cp -rv a directory under file system mounted via FUSE, redirect of I/O doesn't work.

Re: ls missing in cygwin

2008-07-04 Thread Philip Rowlands
On Thu, 3 Jul 2008, Craig Naumann wrote: hello, i cant use the ls command in cygwin, it says command not found. It sounds like coreutils is not installed properly, or not installed at all in your cygwin environment. Unfortunately, this is not the right mailing list for cygwin installation

Re: du: cache directory size

2008-07-03 Thread Philip Rowlands
On Wed, 2 Jul 2008, Mildred wrote: I was thinking that perhaps caching the size of directories could bu useful. Perhaps, after du computes the size of a directory, it could write its size in its extended attributes (if the filesystem support it). Next time, du would only compare the directory

Re: cp -u

2008-06-14 Thread Philip Rowlands
On Sat, 14 Jun 2008, Markku A. Mähönen wrote: I noticed that if, for some reason, the copy of a file is interrupted (and so the destination file is not the same size as the source) and after that you do 'cp -u' again it does not update the interrupted file. So the 'cp -u' does not care about

Re: Problem with Date Command

2008-06-05 Thread Philip Rowlands
On Wed, 4 Jun 2008, Dameon G. Rogers wrote: Bug-coreutils, I would like to report a problem with the *date* command: date +%C does not function properly. It says it displays the current century but the/ definition /of century means that we are in the 21st not the 20th. The

Re: bug in sha1sum

2008-05-13 Thread Philip Rowlands
On Tue, 13 May 2008, Phillip Susi wrote: Philip Rowlands wrote: Coreutils manpages tend to be short reference sheets listing the available options. Further documentation is provided in the info command, as should be mentioned as the end of each manpage. From the docs: `-b' `--binary

Re: bug in sha1sum

2008-05-12 Thread Philip Rowlands
On Mon, 12 May 2008, Dave Hines wrote: I have just been looking at the man page for sha1sum, and saw the options: -b, --binary read in binary mode -t, --text read in text mode (default) There is no further explanation of what these options mean.

Re: BugReport about ln command worked in NTFS

2008-05-09 Thread Philip Rowlands
[ re-adding bug-coreutils again ] Please try running the following commands on the affected filesystem and send back the output: $ touch test1 $ ln test1 test2 $ ls -l $ strace -e trace=unlink rm test1 $ ls -l I think I know where is the problem... Previous commands work successful. And the

Re: BugReport about ln command worked in NTFS

2008-05-08 Thread Philip Rowlands
[ re-adding bug-coreutils@gnu.org ] On Thu, 8 May 2008, [EMAIL PROTECTED] wrote: The complete log about running ln is in the attachment. The strace -c output you posted shows 1 successful call to link(2), as I'd expect. It then shows further expected output from stat(1) that the link count

Re: BugReport about ln command worked in NTFS

2008-05-06 Thread Philip Rowlands
On Fri, 2 May 2008, [EMAIL PROTECTED] wrote: When I use ln command to create a hard link in NTFS file system. If I delete one of the file, and use ls -l to list the files the link counter still the same. Either ln is not working, or the underlying kernel is not responding correctly to the

Re: OO 2.2 freezes repeatedly on Freespire 2.0.8

2008-05-01 Thread Philip Rowlands
On Thu, 1 May 2008, Kenneth Koym wrote: Attn: Bug-coreutils@gnu.org Repeatedly, OO 2.2 has froze while saving a document; often this happens just as I open and select a line or two for placing in another document or place it in an email for sending. Then, I have to spend hours and hours to

Re: NotLoggingdetails when user changes system time with date command

2008-04-09 Thread Philip Rowlands
On Wed, 9 Apr 2008, Chinnakka K Batakurki wrote: When I changed the Linux system time by using date -s time command, the info is not logged to /var/log/wtmp wtmp is a file for recording user login/logout activity. whereas when I change the Hardware clock with hwclock command, it is logged

Re: problem with command sort after uniq -c

2008-03-10 Thread Philip Rowlands
On Mon, 10 Mar 2008, Damien ANCELIN wrote: I met a problem with the sort command : I've used the uniq command with the -c option to count some numbers, and then applying sort -n don't sort lines by numeric order of the first field. Here is an example (my sort version is 5.97) : $ cat bug_sort

Re: date +%s ignores TZ

2008-03-01 Thread Philip Rowlands
On Fri, 29 Feb 2008, Bob Proulx wrote: Jan Engelhardt wrote: I wanted to get the number of seconds since the start of the day. echo $[`date +%s` % 86400]; unfortunately does not do the right thing ÿÿ it would show 82800 instead of 0 when it is (local) midnight. I can't think of

Re: date command

2008-02-28 Thread Philip Rowlands
[ Re-adding bug-coreutils, so the mailing list archives get the benefit of the whole discussion ] On Wed, 27 Feb 2008, Felix Joussein wrote: thank your for your detailed answers. since we're talking about time, and I was quiet busy the past 4 weeks and didn't have time to continue, I'm now

Re: bug in the command du

2008-02-19 Thread Philip Rowlands
On Mon, 18 Feb 2008, Jochen Röder wrote: i've found a bug in the command du When i list recursivly directories and i only want to see the binary count of all files. I become a wrong result. The command e.g. du -ab add the bytes from . in every directory to the result. This is not a bug. -a

Re: date command

2008-02-01 Thread Philip Rowlands
On Fri, 1 Feb 2008, Felix Joussein wrote: Basically I am aware of what you said, but as I am operating an NTP Server which get it's timescale directly from an ATOM clock via the serial interface, which makes it to a STRATUM 1 server, I have to set the leap second manually by date command or

Re: PDT timezone bug in GNU coreutils date v6.9

2008-01-18 Thread Philip Rowlands
On Thu, 17 Jan 2008, Bob Proulx wrote: But the case under discussion was PDT not EST. $ TZ=US/Pacific date -dTue Jan 14 08:25:26 PDT 2008 date: invalid date `Tue Jan 14 08:25:26 PDT 2008' At this point I don't know if PDT is ambiguous or not Not to getdate. There is one PDT entry in

Re: PDT timezone bug in GNU coreutils date v6.9

2008-01-17 Thread Philip Rowlands
On Thu, 17 Jan 2008, Bob Proulx wrote: Let me state this in a slightly different way. You are trying to use GNU date's --date=STRING date parsing extension to parse the historical default date format. But the problem is that the historical default date format is not exact and has the

Re: PDT timezone bug in GNU coreutils date v6.9

2008-01-15 Thread Philip Rowlands
On Tue, 15 Jan 2008, [EMAIL PROTECTED] wrote: I believe I have identified a bug in the GNU coreutils date utility when handling the PDT timezone. I'm running Fedora 8 kernel 2.6.23.9-85.fc8, and the command date - -version reports: date (GNU coreutils) 6.9 [snip] $ date -dTue Jan 14

Re: RE Serious Boot Bug In Sayabon Linux (reboots reboot process after CORRECT PWD LOGIN ENTERED)

2008-01-14 Thread Philip Rowlands
On Tue, 15 Jan 2008, Dave Saunders wrote: I purchased this in Adelaide, SA. It's been great up to now. The password login details work great on the Console Terminal. So I know my 120gig data is intact. However, I can't access it via the desktop at all. It just reboots the reboot sequence

Re: ls produces spurious message elements during tab completion

2008-01-12 Thread Philip Rowlands
On Sat, 12 Jan 2008, Paul Coe wrote: when using a partially completed path after ls and playing with tab completion to remind oneself of the next directory or file then the following message typically appears, as in this example... prompt: ls -al /usr/lib/jvm/j There are 4 There are %d %s,

Re: Concern about --reply=no option of mv.

2008-01-07 Thread Philip Rowlands
On Mon, 7 Jan 2008, Dana Runge wrote: I noticed that the --reply option is being deprecated in mv. Perhaps I am overlooking something, but it appears as if key functionality is being removed from the command. I regularly write scripts with --reply=no with the intent that if the target file

Re: Maybe a bug!

2007-12-21 Thread Philip Rowlands
On Fri, 21 Dec 2007, [EMAIL PROTECTED] wrote: Why does head accept die option -1 and tail does not, in this same context? Please see this FAQ entry regarding arguments to tail: http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Old-tail-plus-N-syntax-now-fails I'm not sure why head

Re: about df and lvm

2007-12-04 Thread Philip Rowlands
On Tue, 4 Dec 2007, tq01azk wrote: test environment: centos 4.4 Linux localhost.localdomain 2.6.9-55.0.12.ELsmp #1 SMP Fri Nov 2 11:19:08 EDT 2007 i686 i686 i386 GNU/Linux lvm version LVM version: 2.02.21-RHEL4 (2007-03-26) Library version: 1.02.17-RHEL4 (2007-04-24) Driver version:

  1   2   3   >