New util suggestion: timeout

2004-06-27 Thread Philip Rowlands
What: timeout, executes the sub-command a-la GNU time/nice, but takes arguments to control the amount of wallclock time the process is allowed. Why: - ulimit for real time - No current util (GNU or otherwise) widely distributed (AFAIK) - Useful in scripting, particularly with network apps I was

Re: New util suggestion: timeout

2004-06-28 Thread Philip Rowlands
On Mon, 28 Jun 2004, Paul Jarc wrote: How would you limit wall-clock time? Schedule SIGALRM with setitimer and then exec the given command? I've long used a command of my own called 'alarm' that just does that. However, this strategy doesn't always work well if the command has

Re: Bug with filenames starting with a hyphen

2004-07-16 Thread Philip Rowlands
On Thu, 15 Jul 2004, David [iso-8859-15] Gómez wrote: Several coreutils, like mv, cp, rm, ln, etc... fails when the file passed as first parameter starts with a hyphen: $ cp -old new cp: missing destination file Try `cp --help' for more information. thanks, Please see this FAQ entry:

Re: Bugs

2004-08-07 Thread Philip Rowlands
On Wed, 4 Aug 2004 [EMAIL PROTECTED] wrote: should I send here (possible) bug requests about linux utils? You should if they are GNU coreutils utilities. You can tell whether this is the case by running the util with the --version argument, e.g. $ ls --version ls (coreutils) 5.2.1 Written by

Re: Bad cp -a behaviour

2004-08-07 Thread Philip Rowlands
On Tue, 3 Aug 2004, Tim Waugh wrote: When using 'cp -a' to copy a directory structure, it has some unexpected behaviour. See the attached Makefile, which compares the behaviour between tar, cpio, and cp. I might be missing something here; I can't reproduce this with a recent cp (from FC2): $

Re: Bad cp -a behaviour

2004-08-11 Thread Philip Rowlands
On Wed, 11 Aug 2004, Tim Waugh wrote: Thinking about it, it must be order-specific. But here's the output I get: `2/d/3' - `1/d/3' `2/d/2' - `1/d/2' `2/d/1' - `1/d/1' `2/d/4' - `1/d/4' OK, so this is a filesystem-dependent issue when using --recursive on source and destination directories

Re: chmod drwxrwxrwT

2004-08-21 Thread Philip Rowlands
On Fri, 20 Aug 2004, Mario Lombardo wrote: In the last triplet, a capital T isn't discussed on the man page. I know it's sticky, but it means something different from drwxrwxrwt. Where can I get more info on this? I'd like to learn. $ info coreutils 'Mode Structure' In addition to the

Re: why ls -d does not work?

2004-09-14 Thread Philip Rowlands
On Tue, 14 Sep 2004, Joe wrote: I type ls --help it shows -d, --directory list directory entries instead of contents, and do not dereference symbolic links then I type ls -d under my home directory, it display nothing , but actually there are some directories under my home directory. By

Re: weird echo behaviour...

2004-09-17 Thread Philip Rowlands
On Thu, 16 Sep 2004, Alfred M. Szmidt wrote: Could someone explain the following behaviour for me? Because I sure do not understand it. [EMAIL PROTECTED]:/tmp/foo$ touch 1 2 3 4 5 [EMAIL PROTECTED]:/tmp/foo$ foo=`ls` Here, ls knows it is not outputting to a terminal, so implies the -1 option.

Re: CPU affinity patch for 'nice'

2004-09-22 Thread Philip Rowlands
On Tue, 21 Sep 2004, Paul Eggert wrote: [snip] Last but not least, is there prior art for this sort of thing? Recent RedHats come with the taskset(1) utility in the schedutils package. Its usage: taskset version 1.3.0 usage: taskset [options] [mask] [pid | cmd [args...]] set or get the

Re: rm -rf / protection

2004-10-05 Thread Philip Rowlands
On Tue, 5 Oct 2004 [EMAIL PROTECTED] wrote: I thought this was interesting... http://blogs.sun.com/roller/page/jbeck/20041001#rm_rf_protection I'd struggle to find a justification for removing / (perhaps some chroot'd scenario), but surely this kind of protection mechanism belongs in the

Re: TERRIBLE sort performance in RedHat 9.0

2004-10-08 Thread Philip Rowlands
On Fri, 8 Oct 2004, Mike Westall wrote: The file fack.0-1.dif is an ASCII text file of 54,853 lines with 4 columns of numeric data. I noticed very slow performance when trying to sort on a RH9.0 system: Stop right there - Unicode problems. See: http://rhn.redhat.com/errata/RHBA-2004-083.html

Re: touch - cannot use options backward

2004-11-02 Thread Philip Rowlands
On Mon, 1 Nov 2004, Laurent Charpentier wrote: touch --date $(date --date '1 hour ago') /tmp/foo In fact I want the date '1 hour' younger than its current timestamp (not 1 hour ago from now). It's getting messy, but I think this works: $ touch -d $(date -d $(date -r foo) 1 hour ago) foo

Re: Patch for mv -s option

2004-11-05 Thread Philip Rowlands
On Fri, 5 Nov 2004, Brendan Byrd/SineSwiper wrote: Also, I have a question about how files are moved. Currently, all files are copied to a new diskspace, and then the old diskspace is removed. Only when the file is moving across filesystem boundaries. Try this to see how mv usually behaves: $

Re: Improve on the Vi editor

2004-11-15 Thread Philip Rowlands
On Mon, 15 Nov 2004, Dimieari Macaulay wrote: 'am happy to join the Linux family.As a programmer,I would wish to send in some few contributions: [snip] Glad that you've taken an interest in improving the tools which ship with whichever Linux distribution you've found, but this mailing list

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Philip Rowlands
On Fri, 19 Nov 2004, Paul Eggert wrote: If small size is all you want, I can do a lot better than that: $ ls -l true -rwxr-xr-x 1 eggert eggert 10 2004-11-19 22:18 true $ ./true; echo $? 0 Can't beat this for size: $ ls -l true -rwxr-xr-x 1 prowlands users 0 Nov 20 12:59 true $ ./true;

Re: Sort command in sort version 4.5.3

2004-12-07 Thread Philip Rowlands
On Tue, 7 Dec 2004, Aroussi Asher wrote: The sort command : 'sort -M list_of months' doesn't work. It seems that the sorting is an alphabetic one instead of chronological. Could you give an example of what you did, what happened, and what you expected to happen? It appears you may be trying to

Re: base64 tool?

2004-12-21 Thread Philip Rowlands
On Tue, 21 Dec 2004, Simon Josefsson wrote: I was looking for something simpler, preferably the tool should even be called 'base64' so TAB completion works. Perhaps base64 is not yet as widely used to motivate it being part of coreutils, though. Just because I often need such a tool doesn't

Re: su does not recognized root password

2005-01-30 Thread Philip Rowlands
On Sun, 30 Jan 2005, Tony Guo wrote: after I tried a few commands to change to different versions of shells available (sh, csh, ksh, etc.) with my fedora core 2 installation, and have a few su-ed windows open, I suddenly found the su command does not work any more, neither was my root password

Re: man prints binary characters to the screen.

2005-02-04 Thread Philip Rowlands
On Thu, 3 Feb 2005, Thomas Herter wrote: With this setting of TERM and with this Linux version: stnsp013:/home/therter set | grep TERM TERM=vt100 stnsp013:/home/therter uname -a Linux stnsp013 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004 i686 i686 i386 GNU/Linux What terminal

Re: date --help sends one digging RFCs

2005-02-24 Thread Philip Rowlands
On Fri, 25 Feb 2005, Dan Jacobson wrote: man date and date --help have got to be kidding saying things like -R, --rfc-2822 output RFC-2822 compliant date string whereupon we have to go looking up what RFC-2822 compliant date strings look like. Make sure to show what they

Re: date 5.2.1 bug(?)

2005-03-02 Thread Philip Rowlands
On Tue, 1 Mar 2005, Kenny Stauffer wrote: The command date -d a produces Mon Feb 28 20:00:00 EST 2005 when localtime is Tue Mar 1 22:55 2005. date -d aa complains that aa is an invalid date. In fact, any single letter except j is a valid date. Is this a bug, or do I gravely misunderstand date's

Re: question-problem with sort

2005-03-10 Thread Philip Rowlands
On Wed, 9 Mar 2005, Paul Riggs wrote: Is the sort command supposed to be case-sensitive? [snip] Short answer: sort sorts by whatever order the configured locale requires. Please see the FAQ Sort does not sort in normal order: http://www.gnu.org/software/coreutils/faq/coreutils-faq.html

Re: slight 'rm --help' confusion

2005-04-07 Thread Philip Rowlands
On Thu, 7 Apr 2005, G. Vamsee Krishna wrote: Would be nice though if it says that `rm' does the same thing to directories too. I still remember using `rmdir' on an empty directory about 2 years ago when I started using GNU/Linux. rmdir can still be useful as a less-dangerous alternative to rm

Re: bug, i think? pwd --help and pwd --version don't work

2005-04-08 Thread Philip Rowlands
On Thu, 7 Apr 2005, r3b3l wrote: Hi! I would like to know if this i encountered is really a bug or i'm i just doing something wrong? i'm kind off a newbie with linux, so sory if i ask some silly question or if i am just doing it all wrong. I am running mandrake linux 10.1 and the pwd --version

Re: problem with tail

2005-04-18 Thread Philip Rowlands
On Mon, 18 Apr 2005, Anquijix Schiptara wrote: I often use tail to see, what's being logged. After tail is runnin a while, it doesnt update the output anymore and I have to restart the command. Whats the reason? The logfile is being rotated, and you didn't use tail's -F flag? Cheers, Phil

Re: sort problem

2005-04-23 Thread Philip Rowlands
On Fri, 22 Apr 2005, Bastiaan Naber wrote: The sun program uses sort (sort - GNU textutils 1.14). However I have a different version of sort on the linux machine (sort (coreutils) 5.2.1). My problem is that these different versions sort my text differently. This is not really a problem however

Re: seq 0 10 100|sed 1d

2005-04-26 Thread Philip Rowlands
On Wed, 27 Apr 2005, Dan Jacobson wrote: seq should have some more options so one wouldn't have to use sed here: $ seq 0 10 100|sed 1d I think seq 10 10 100 will give the same result. Cheers, Phil ___ Bug-coreutils mailing list

Re: CHMOD

2005-04-28 Thread Philip Rowlands
On Thu, 28 Apr 2005, Rcipapo wrote: I got Argument list too long error when I try to chmod 0600 * a /Maildir which contains thousands of files. How to do? Read the FAQ? http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Argument-list-too-long Cheers, Phil

Re: Filename Globbing issues on Win32?

2005-05-09 Thread Philip Rowlands
On Mon, 9 May 2005, Adin Burroughs wrote: OK, first off, I'm on Win32 (XP) using 5.3 of coreutils. I have been knocking my head on this and I'm feeling *really* stupid. I swear, I'm unix literate, but I can't seem to get the following to work without cheating: cp -uvp c:\dir with space\long

Re: bug concerning uname and AMD cpu's

2005-05-30 Thread Philip Rowlands
On Mon, 30 May 2005, Randy Forston wrote: A fellow Ubuntu user on one of our lists ran uname -m on his AMD motherboard/cpu combo and it returned i686. Obviously, this is a k7 cpu. Any chance the uname utility might be upgraded to appropriately label AMD as well as Intel cpu's?? This string

Re: i dont understand it

2005-06-01 Thread Philip Rowlands
On Wed, 1 Jun 2005, MandyMarko wrote: expr 100 * 1 expr: Syntaxfehler Syntaxerror ??? Where is the error ??? Is there an error in expr ??? Your shell is expanding the unquoted * in the current directory. Try these: $ expr 100 \* 1 $ echo expr 100 * 1 (to see what expr sees) Cheers, Phil

Re: new coreutil? shuffle - randomize file contents

2005-06-02 Thread Philip Rowlands
On Thu, 2 Jun 2005, James Youngman wrote: I think the consensus is that the functionality belongs in sort. Beyond that things are a bit less clear. However, Paul put forward a proposed usage which adapts the current -k option (see

Re: new coreutil? shuffle - randomize file contents

2005-06-02 Thread Philip Rowlands
On Thu, 2 Jun 2005, Frederik Eaton wrote: Phil Is it that the app must guarantee all lines of a Phil non-seekable stdin must have an equal chance of any sort order? See my comment to James above. I think one need not make this guarantee, since only a tiny fraction of possible sort orders will be

Re: Buffer overflow in cp and mv commands

2005-06-13 Thread Philip Rowlands
On Mon, 13 Jun 2005, Paul Eggert wrote: Gregory Butenko [EMAIL PROTECTED] writes: Thanks, guys, for quick response. I have found the solution at https://bugs.gentoo.org/show_bug.cgi?id=86857 That URL doesn't work for me right now; I can't connect (though I can connect to gentoo.org). Perhaps

Re: Regression in TOUCH

2005-06-23 Thread Philip Rowlands
On Wed, 22 Jun 2005, david wrote: The Touch command seems to have lost the -B option. It was present in version 4.5.3, and is absent in 5.2.1 It is a very useful option, allowing me to set a timestamp that is, for example, ten days old. Is there some other way to do it? See this thread from

Re: sort utility

2005-06-26 Thread Philip Rowlands
On Sat, 25 Jun 2005, John J. Herda wrote: I am trying to get an ASCII sort and am having great troubles and frustration. It appears that there is no switch to force an ASCII sort, only for other kinds of sorts. It appears that environment variables: LC_ALL, LC_COLLATE, LC_CTYPE, and LANG all

Re: cp command

2005-07-19 Thread Philip Rowlands
On Tue, 19 Jul 2005, Bob Proulx wrote: In general there are many possible ways for a program to fail. Personally I believe that trying to enumerate all possible failures is not a good way to do things because it is never good to try to enumerate an unbounded set. True, but perhaps a standard and

Re: Trying...

2005-07-19 Thread Philip Rowlands
On Tue, 19 Jul 2005, Robert Easter wrote: I just got into Linux this week. Hi Robert, I'm afraid you've picked a mailing list that is way off-topic for the video/audio playback problems you're having. Perhaps a Google search will turn up some more appropriate sites or lists. Cheers, Phil

Re: Why I can not change ownership of an OCFS mount point?

2005-08-12 Thread Philip Rowlands
On Thu, 11 Aug 2005, Ivanova Crawford wrote: From /etc/fstab /dev/emcpowerb7 /u07ocfs _netdev drwxrwxr-x1 500 oinstall 131072 Aug 10 16:41 u07 When I'm trying to issue the following command it doesn't let me: [EMAIL PROTECTED] root]# chown

Re: df displays wrong figures for network mounts

2005-08-16 Thread Philip Rowlands
On Tue, 16 Aug 2005, Bruno Haible wrote: [EMAIL PROTECTED]:~ $ ls -ld data lrwxr-xr-x 1 bruno bruno 17 24 Aug 2004 data - /Volumes/UserData [EMAIL PROTECTED]:/smb/ibook $ ls -ld data drwxr-xr-x1 brunouser 4096 Aug 11 00:54 data The mistake that 'df' did is: When it climbed

Re: place for find bugs?

2005-09-04 Thread Philip Rowlands
On Sun, 4 Sep 2005, Linda A. Walsh wrote: Is find considered a core util? or where should I report a 'find' bug? GNU find is not a coreutil. My local version suggests: Report (and track progress on fixing) bugs via the findutils bug-reporting page at http://savannah.gnu.org/ or, if you have no

Re: df

2005-10-03 Thread Philip Rowlands
[Interleaved mails and re-added bug-fileutils] On Mon, 3 Oct 2005, Alan Perry wrote: Here is the output: statfs(/, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=9370890, f_bfree=9315426, f_bavail=8839401, f_files=4767744, f_ffree=4753383, f_fsid={-1073743148, 518}, f_namelen=255,

Re: unlink

2005-10-22 Thread Philip Rowlands
On Sat, 22 Oct 2005, Dave Richards wrote: If you accidentally use unlink on a real file, it won't do anything to it. Not true. unlink is quite happy to delete real files; I'd even suggest rm is safer, as it will prompt in certain circumstances where unlink won't (--interactive or write-protected

Re: Split command problem

2005-11-09 Thread Philip Rowlands
On Wed, 9 Nov 2005, magesh sadagopan wrote: When I try to use the split command directly from console its able to split the file. But when tried through the scheduler, its not able to split the file. The error message which is generated is /usr/bin/split: arg list too long This is in the

Re: df output on fedora

2005-11-14 Thread Philip Rowlands
On Mon, 14 Nov 2005, Dan Pothier wrote: I have a small problem with df output on fedora fc4.. the results are different than any other linux system I have encountered. It is causing a problem with my system monitoring/graphing application, since the output of df isn't consistent with the

Re: bug in sort with '.' in strings

2005-11-20 Thread Philip Rowlands
On Mon, 21 Nov 2005, Michael J. Dinneen wrote: Sort seems to ignore (incorrectly handle) the character '.' in the strings. Please see this FAQ entry, Sort does not sort in normal order!: http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021

Re: can we remove a directory from within that directory??

2005-11-21 Thread Philip Rowlands
On Mon, 21 Nov 2005, kuldeep vyas wrote: I'm using Redhat 9 (kernel 2.4.20-8 on i686) I logged in as k(username), then I started terminal, then I gave following commands:- [snip] kls /home/k/ // my_dir gone kpwd /home/k/my_dir // oops!! It's likely here that pwd is the shell's builtin

Re: Improper behavior in sort utility

2005-11-30 Thread Philip Rowlands
On Wed, 30 Nov 2005, Mark Frost wrote: It appears that sort does not examine the proper fields specified by '-k' unless the '-n' option is given. It would be helpful to know which sort locale is in use here; I'll assume it's en_US. Sort keys can be tricky, but I don't think any of the

Re: mv bug

2005-12-07 Thread Philip Rowlands
On Wed, 7 Dec 2005, Vincent Chan wrote: I have a bunched of files in a directory and there are a.avi and a.rar in it. Inside the directory, there is also a directory called a. I wanted to type mv a.* a. But instead I typed mv a.* by mistake. As a result, I can't find the original a.rar

Re: date bug

2006-01-02 Thread Philip Rowlands
On Mon, 2 Jan 2006, William Johnson wrote: I have run this script on my linux router and in cygwin. In both cases, the date is changed from 2006 to 2005. --- set Time_Stamp=01-Jan-2006 21:22:23 echo $Time_Stamp set MyDate=`date --date=$Time_Stamp +%G-%m-%d %T %a` echo $MyDate --- The

Re: XML-like date/time support ?

2006-01-08 Thread Philip Rowlands
On Sun, 8 Jan 2006, Nicolas Mailhot wrote: The XML folks have defined a single common international date/time format people can actually use : http://www.w3.org/TR/NOTE-datetime The W3 consortium has received a proposal, from Reuters, for a subset of ISO 8601, which has been marked This

Re: Question about NIST listing

2006-01-08 Thread Philip Rowlands
On Sun, 8 Jan 2006, David Highley wrote: Is it in the plans for running the SHA2 tests to get the sha256sum sha384sum and sha512sum programs listed as tested on the NIST site? Probably not. I don't recall any mention of such validation in my time following this mailing list, and there's

Re: Localization based problem with sort

2006-01-17 Thread Philip Rowlands
On Tue, 17 Jan 2006, Dirk Stoecker wrote: So please tell me a way to use the sort program in contexts which allow no environment variable settings. I will be happy to accept it. I would cheekily point out that the reason you see the unwelcome sort order in the first place is caused by an

Re: dd utility in Linux

2006-01-22 Thread Philip Rowlands
On Sun, 22 Jan 2006, Sergio Nudelman wrote: The translation from EBCDIC to ASCII depends on the code page. How this is handled by dd? Although I don't know much about EBCDIC handling and conversion, I think this page answers your question:

Re: Filename pattern in grep --include=....

2006-02-01 Thread Philip Rowlands
On Tue, 31 Jan 2006, Com MN PG P E B Consultant 3 wrote: From the grep man-page: --include=PATTERN Recurse in directories only searching file matching PATTERN. GNU grep is not a coreutil, so this isn't the best mailing list for grep questions. What type of PATTERN can

Re: Bug in 'mv -g'?

2006-02-08 Thread Philip Rowlands
On Wed, 8 Feb 2006, Tom van Leeuwen wrote: The man pages of the 'mv' command say that bugs can be reported to this email address. I am running gentoo and I have coreutils version 5.93 installed. I always used the command 'cp -g' and 'mv -g' because I like progress bars. cp -g still works,

Re: sort on multicolumn files

2006-02-20 Thread Philip Rowlands
On Thu, 16 Feb 2006, P Kensche wrote: I use 4.5.3 from coreutils 5.93 and have a problem with sort. This is a common issue, due to certain locale settings which influence sorting behaviour. Please see:

Re: shell echo do not print special letters

2006-02-24 Thread Philip Rowlands
On Wed, 22 Feb 2006, sigbj-st wrote: Running SCRIPTS as bash do not give off special letters for Norwegian following the echo command.The letters will lack as holes. echo will simply write back the arguments passed to it. If there's a problem with certain characters, that sounds more like a

Re: base64 tool?

2006-03-01 Thread Philip Rowlands
Why all the duplicate deliveries today? Cheers, Phil ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re[2]: Problem with running tests during installing coreutils-5.94

2006-04-17 Thread Philip Rowlands
On Tue, 18 Apr 2006, Adam Waltman wrote: k13 coreutils-5.94 # src/shred --remove --zero adam adam1 Segmentation fault It seems that he shred itself is the culprit. I have no real experience in programming in Linux, but I have installed gdb and tried to squeeze something out of it without any

Re: Problem with running tests during installing coreutils-5.94

2006-04-17 Thread Philip Rowlands
On Mon, 17 Apr 2006, Bob Proulx wrote: Good suggestion. But I think that needs another \n in the printf. Doesn't it? gdb -x ( printf run\nbt\nq\n ) --args src/shred --remove --zero adam adam1 It's certainly cleaner, but gdb on my system seems to cope without. I tried it like this: gdb

Re: Re[2]: Problem with running tests during installing coreutils-5.94

2006-04-18 Thread Philip Rowlands
On Tue, 18 Apr 2006, Adam Waltman wrote: So the tips how should I use gdb were really heplful. Here is the output k13 coreutils-5.94 # gdb -x ( printf run\nbt ) --args src/shred --remove --zero adam adam1 [snip] Program terminated with signal SIGSEGV, Segmentation fault. The program no

Re: Problem with running tests during installing coreutils-5.94

2006-04-19 Thread Philip Rowlands
[gdb displays nothing] Or a sign that everything was configured with debug information stripped and compilation took place with optimizations Not on my machine... $ cat segv.c #include string.h void main() { memcpy(0, hello, 5); } $ gcc -O3 -o segv segv.c segv.c: In function `main': segv.c:2:

Re: problem with comm

2006-05-12 Thread Philip Rowlands
On Fri, 12 May 2006, Etcheverry, William (Bill) wrote: comm -1 -3 File1 File2 ... components.applayer\osf\regtest\asc\comm\sat\rel99\4_12_1_osf.asc components.applayer\osf\regtest\asc\comm\sat\rel99\4_12_3_osf.asc ... Is there some sort of sort problem going on here? Possibly. On my

Re: tail man entry for +

2006-06-19 Thread Philip Rowlands
On Mon, 19 Jun 2006, John Lange wrote: Do you think it would be possible to add an entry to the tail man that indicates you can use the + sign to start reading X number of lines from the beginning. It already has. On my system, the manpage for tail includes: If the first character of N (the

Re: limited --width argument for fmt

2006-07-11 Thread Philip Rowlands
On Tue, 11 Jul 2006, Behdad Esfahbod wrote: This a bug report against fmt. [EMAIL PROTECTED] test]$ fmt -w 12345 fmt: invalid width: `12345' What I'm trying to achieve here is to unwrap lines, aka tr '\n' ' ' but using fmt. According to GNU Coding Standards, GNU tools should not have hard

Re: md5sum freezes system

2006-07-15 Thread Philip Rowlands
On Sat, 15 Jul 2006, Daniel wrote: If I run md5sum on big files (700MB) it freezes the system. There are no logs, no panic, nothing. It only shows the last screen. This will be difficult to diagnose if the problem occurs only on your system. Are you able to reproduce it on another computer?

Re: Problem with LCD that should have 1280x1024

2006-07-16 Thread Philip Rowlands
On Sun, 16 Jul 2006, Guido Hochuli wrote: I've got a Targa-PC with a Nvidia Gforce 6600GT graphiccard 64 Bit, connected to a Targa 19-LCD-Monitor on DVI. Both from the lidl-Store in Germany. All running now on Ubuntu 6.06 I can only set 1024x768 and not the desired 1280x1024. Unfortuately

Re: annoyances with tr

2006-07-18 Thread Philip Rowlands
On Tue, 18 Jul 2006, icewind wrote: input: abc123abc call: tr abc123abc -d '[^0-9]' output:abcabc regex-rule: ^ is for negating the match output should be 123 (Please note - the bug-textutils address you mailed suggests that you have a rather old version of tr. textutils, fileutils, and

Re: bug in date utillity

2006-07-31 Thread Philip Rowlands
On Mon, 31 Jul 2006, Vladislav ZItikis wrote: I think, I find a bug in date calculations. This is example for demonstration: --- [EMAIL PROTECTED] date Mon Jul 31 17:12:57 MSD 2006 [EMAIL PROTECTED] date -d 1 month ago +%m 07 [EMAIL

Re: date: bug in calculating future dates

2006-08-03 Thread Philip Rowlands
On Thu, 3 Aug 2006, Christian Hoffmann wrote: [EMAIL PROTECTED]:~ $ date -d 2006-08-07 +230 days Sa Mär 24 23:00:00 CET 2007 [EMAIL PROTECTED]:~ $ date -d 2006-08-07 +231 days Mo Mär 26 00:00:00 CEST 2007 Sunday is missing Notice that in your configured timezone, the DST offset changes

Re: true.c is bloated, I suggest int main() { return 0; }

2006-08-04 Thread Philip Rowlands
On Fri, 4 Aug 2006, Helge Hafting wrote: I noticed that the true and false programs are somewhat bloated, on i386 they need 3 4k-pages of code when the trivial implementation in the subject line only need one. [snip] I can only guess that someone is trying to standardize the use of --help

Re: Question about date

2006-08-05 Thread Philip Rowlands
On Sat, 5 Aug 2006, Lum wrote: I see you can use b to get an abbreviated month such as Aug but how do I get it in upper case (AUG)? Not directly, but you could pipe the output through something like: $ date +%b | tr '[:lower:]' '[:upper:]' AUG On Solaris is there a utility to get

Re: Bug - report

2006-09-07 Thread Philip Rowlands
Hello, You sent mail to bug-sh-utils, which has been deprecated for some time. bug-coreutils is now the appropriate address for coreutils bug reports. On Thu, 7 Sep 2006, [EMAIL PROTECTED] wrote: The command, who when used with any two arguments like who am am... displays the result of who

Re: df reporting problem with raid

2006-09-08 Thread Philip Rowlands
On Fri, 8 Sep 2006, Steven Fishback wrote: [snip] # df -h FilesystemSize Used Avail Use% Mounted on /dev/md1 4.8G 3.2G 1.3G 72% / /dev/md0 46M 22M 23M 49% /boot none 2.0G 0 2.0G 0% /dev/shm /dev/md4 25G 72K

Re: enhancement request for gnu chmod

2006-10-02 Thread Philip Rowlands
On Mon, 2 Oct 2006, Doug McLaren wrote: Right now, the best way to do what I'm referring to is something like this -- find /directory -type d -print0 | xargs --no-run-if-empty -0 chmod 755 find /directory '!' -type d '!' -type l -print0 | \ xargs --no-run-if-empty -0 chmod 644 If

Re: Problems while booting Morphix with chroot

2006-10-27 Thread Philip Rowlands
On Fri, 27 Oct 2006, [EMAIL PROTECTED] wrote: Hi, I downloaded the Morphix LiveCD with LightGUI and burned it, but it does not load right. Unfortunately this is not the right mailing list for Morphix. I'd suggest looking on the product's website, or trying your favourite search engine.

Re: df improvements

2006-11-06 Thread Philip Rowlands
On Mon, 6 Nov 2006, Roberto Piola wrote: I was trying to use df in scripts. Since LVM introduces very long device names, the column with usage% was floating, so, I modified a little the df utility, by adding the -q switch, that forces a very small output, without header and with just two

Re: df improvements

2006-11-06 Thread Philip Rowlands
[ dropping [EMAIL PROTECTED] due to bounced mail ] On Mon, 6 Nov 2006, Roberto Piola wrote: Philip Rowlands wrote: On Mon, 6 Nov 2006, Roberto Piola wrote: I was trying to use df in scripts. Since LVM introduces very long device names, the column with usage% was floating, so, I

Re: Error on specific date

2006-12-11 Thread Philip Rowlands
On Mon, 11 Dec 2006, [EMAIL PROTECTED] wrote: A very odd bug, when a call the comand: date --date=2006-10-15 this give me a invalid date. This happens only in that specific date 2006-10-15, very strange. Look below. I assume from your email address and BRT timezone that you're in the

Re: rm doesnt' delete

2007-01-12 Thread Philip Rowlands
On Fri, 12 Jan 2007, Lise Slama wrote: When I do rm --recursive --verbose a.out or more generally when I use rm -R, it only deletes the corresponding files in the current directory. rm will only delete the filename specified to it. If one of those files is a directory and --recursive

Re: feature request: gzip/bzip support for sort

2007-01-18 Thread Philip Rowlands
On Thu, 18 Jan 2007, Jim Meyering wrote: I've done some more timings, but with two more sizes of input. Here's the summary, comparing straight sort with sort --comp=gzip: 2.7GB: 6.6% speed-up 10.0GB: 17.8% speed-up It would be interesting to see the individual stats returned by wait4(2)

Re: feature request: gzip/bzip support for sort

2007-01-18 Thread Philip Rowlands
On Thu, 18 Jan 2007, Jim Meyering wrote: I had to use seq -f %.0f to get this filesize. Odd. Here's what those generate for me: $ seq 999 k $ wc -c k 7888 $ tail -1 k 999 What happens differently for you? $ seq 990 999 9.9e+06 9.9e+06 9.9e+06

Re: df command hangs system.

2007-01-19 Thread Philip Rowlands
On Fri, 19 Jan 2007, Suresh Kumar Papneja, Noida wrote: While executing df -kP or df command, the system will go in wait state until forcefully kill by ctrl+c, It's likely that an NFS mount is hanging in the statfs call. You should be able to see this by running df under strace. $ strace

Re: basename sucks (OT)

2007-02-02 Thread Philip Rowlands
On Fri, 2 Feb 2007, Bauke Jan Douma wrote: Reminds me of something. This is largely off-topic, but does anyone know of a utility FOO that takes a path or file as input an outputs a full, absolute, rooted path? readlink -f sounds close to what you want. Cheers, Phil

Re: env

2007-02-20 Thread Philip Rowlands
On Mon, 19 Feb 2007, Harvey Eneman wrote: I've experienced an issue with the env implementation due to its modification of the environ external variable: /* If no program is specified, print the environment and exit. */ if (argc = optind) { while (*environ) puts

Re: Problem with uniq command

2007-02-22 Thread Philip Rowlands
On Wed, 21 Feb 2007, Miroslaw Kozielski wrote: I think I found a bug in 'uniq' command. I have a text file: bla.txt / [EMAIL PROTECTED]:~/tmp$ cat bla2 ba111. ba112. bs112. bm123. ba123. ba111. /After use option - c ( recede each output line with a count of the number of times the line

Re: enhancement bug for ls...

2007-02-22 Thread Philip Rowlands
On Wed, 21 Feb 2007, Rajeswar wrote: Currently IF you want to list only the directories ( as a ls command ) or only interested in the directory structure ( tree ), There is no option in ls. ls has to be enhanced with some e flag so that the following scenarios are supported. 1. This

Re: kilo is k and not K

2007-02-26 Thread Philip Rowlands
On Mon, 26 Feb 2007, Francky Leyn wrote: when you do ls -l -h one sometimes encounters files which have kilo size. ls -l -h then uses K to display this. This is wrong and unallowable. It must be k. You don't have a choice: it is standarised by the SI system as k. See for example

Re: kilo is k and not K

2007-02-26 Thread Philip Rowlands
(re-adding bug-coreutils - please keep discussion on-list) On Mon, 26 Feb 2007, Francky Leyn wrote: If you prefer SI-formatted output, the --si option is probably the right choice, and does what you request. Implementing this as an option is... The default should be SI. M$ also uses K.

Re: kilo is k and not K

2007-02-26 Thread Philip Rowlands
(re-adding bug-coreutils again) On Mon, 26 Feb 2007, Francky Leyn wrote: [snipped] But that's not quite your point (that K is never desirable). K in the displayed -h output represents a kibi-, symbol Ki (see lib/human.c), truncated. Arguably this isn't perfect, but it seems a step in the

Re: kilo is k and not K

2007-02-26 Thread Philip Rowlands
(re-adding bug-coreutils again) On Mon, 26 Feb 2007, Francky Leyn wrote: http://physics.nist.gov/cuu/Units/binary.html specifies Ki as the symbol for kibi-. Is this NIST standard acknowledged by ISO, ANSI or others? From the webpage: The complete citation for this revised standard is IEC

RE: cp -p

2007-03-17 Thread Philip Rowlands
On Fri, 16 Mar 2007, Ekanayake, Sumith wrote: Let give you the trace and the vers... [EMAIL PROTECTED] ~]$ strace cp -p c d execve(/bin/cp, [cp, -p, c, d], [/* 52 vars */]) = 0 [ snip unnecessary output ] lstat64(d, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 This isn't quite clear from

Re: Autoresponder for mail sent to bug-sh-utils, and other obsolete lists

2007-04-06 Thread Philip Rowlands
On Fri, 6 Apr 2007, James Youngman wrote: With help from Justin Baugh, I have now set up the bug-obsolete-packages mailing list. It functions as an autoresponder for mail sent to bug-sh-utils, bug-textutils and bug-fileutils. The point of doing this is that anybody using those mailing list

Re: cp/mv/dd to handle SIGXFSZ?

2007-04-09 Thread Philip Rowlands
On Mon, 9 Apr 2007, Micah Cowan wrote: In the Ubuntu bugtracker, Malone, we've been getting several submissions of an issue, usually phrased along the lines of cp dumps core on copy of 4GB file to vfat (or usb), etc. See https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/75574 If

Re: cp/mv/dd to handle SIGXFSZ?

2007-04-09 Thread Philip Rowlands
On Mon, 9 Apr 2007, Micah Cowan wrote: Users report having this problem when they copy to (e.g.) vfat systems, but not ext3, so it seems to be FS-related. Even if it did turn out to be usage limit, I would think the problem would be the same: it's much more useful (IMO) to issue a diagnostic

Re: Default number of overwrites in shred

2007-05-03 Thread Philip Rowlands
On Wed, 2 May 2007, Peter Eckersley wrote: I was wondering if you would consider reducing the number of default overwrites for shred from 25 to something more like 5? The first question which comes to mind is why 25? From the first version which I can find:

Re: Default number of overwrites in shred

2007-05-05 Thread Philip Rowlands
On Fri, 4 May 2007, Paul Eggert wrote: Anyway, 'shred' currently does the first, but not the second, as it doesn't verify what it's written. That should get fixed, no? Is there a way to ensure reading directly from disk? On Linux I see only a whole-system, root-level way to drop cached

Re: sort and LC_COLLATE: suggestions for improvement (with patch)

2007-05-18 Thread Philip Rowlands
On Fri, 18 May 2007, Jean-Pierre Vial wrote: When one wants to sort a file in which letters are just codes, not meaningfull words, the sort order obtained through LC_COLLATE is very often inadequate. The help suggest to set LC_ALL=C, but this is often inadequate as well in complcated shell

  1   2   3   >