Adding new features to 'rm mv cp'

2006-04-05 Thread Steve
root commands when tired equal BAD results even for a long time user. Thanks so much for reading, hope u consider it. richiefrich begin:vcard fn:Steve Christman n:Christman;Steve org:Penguins_Lair ;Home Office and Personal Consultant adr:;;;Slatington;PA;18080;USA email;internet:[EMAIL PROTE

od bug

2008-03-25 Thread Steve Frampton
00 6261 6463 6665 6867 000a 011 [EMAIL PROTECTED] ~]$ HPUX od shown as a baseline: /home/sframpto--> uname -a HP-UX soi_prod B.10.20 A 9000/800 1279364181 two-user license /home/sframpto--> echo "abcdefgh" | od -x 000 6162 6364 6566 6768 0a00 0000011

Re: source code

2008-09-29 Thread Steve Ward
On Mon, Sep 29, 2008 at 2:27 PM, Michael Williamson < [EMAIL PROTECTED]> wrote: > Hi, > > I do not have a bug to report. I have a question. > > Where is the source code for the program "tail". > I cannot find a "tail.c" on Fedora or openSuSE. > > (I want to find out how it knows that a file has be

Why not enhance "sort" to handle floating point numbers?

2008-11-07 Thread Steve Wald
Hi. 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 notation. Steve Wald [EMAIL

Re: [patch #6797] shred option to use internal RNG

2009-04-01 Thread Steve Schveighoffer
ch. I'm not sure of the best way to do that, it seems that the seeding process is internal to the isaac lib. Would it make a huge difference to seed it periodically vs. just once at the beginning? I'm not a huge statistics or random number buff, maybe someone else knows. -Steve

Re: [patch #6797] shred option to use internal RNG

2009-04-01 Thread Steve Schveighoffer
ere is a perfectly usable random source inside shred, but it's only accessible if I remove a possibly critical component of my OS, /dev/urandom. The patch just makes that behavior forcible without removing /dev/urandom. I'm not trying to add any special behavior he

Re: cat.c

2009-04-01 Thread Steve Schveighoffer
case... It is the end of a do...while loop. The loop executes at least once before the condition is evaluated. It is of the form: do { ... } while(condition); You are looking at the while(condition); as a single while loop, which it is not. Regards -Steve _

Re: [patch #6797] shred option to use internal RNG

2009-04-02 Thread Steve Schveighoffer
d from the existing interface, according to defaults > or from the --random-source-specified file. That is a good idea, but I'm not sure how to implement it. The seeding is done internally in isaac.c, and I'm not really familiar with the seeding process. My patch assumes that the def

Re: [patch #6797] shred option to use internal RNG

2009-04-07 Thread Steve Schveighoffer
gt; > pseudorandom generator, rather than reading /dev/urandom > > * src/shred.c (usage): remove mention of /dev/urandom > > * src/shuf.c (usage); ditto > > * src/sort.c (usage): ditto > > * doc/coreutils.text: Document the new behaviour >

uniq feature request: check-fields option

2009-05-03 Thread Steve Ward
fields in lines Steve ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: uniq feature request: check-fields option

2009-05-07 Thread Steve Ward
On Mon, May 4, 2009 at 01:58, Steve Ward wrote: > For the uniq program, these options exist: > > --skip-chars=N > avoid comparing the first N characters > > --skip-fields=N > avoid comparing the first N fields > > --check-chars=N > compare no more than

md5sum and filenames containing \

2005-04-04 Thread Steve Lilly
PROTECTED] test]$ md5sum * \d41d8cd98f00b204e9800998ecf8427e test\\test I have tried this with bash and tcsh. ls confirms the file has a single \ character. It appears (to me at least) that md5sum is escaping the \ to \\, but I'm baffled as to the extra \ at the beginning of the hash! Regar

Re: md5sum and filenames containing \

2005-04-04 Thread Steve Lilly
Olivier Delhomme wrote: On Sun, 03 Apr 2005 23:34:00 +0100, Steve Lilly was saying : Dear GNU, I was testing one of my own scripts for robustness against exotic filenames containing "\" when I noticed a peculiar behaviour from the md5sum utility (version 5.2.1). To demonstrat

LINUX Sort Problem

2006-06-06 Thread Steve Chamberlin
Hello all, My name is Steve Chamberlin and I currently work for Qsent in Beaverton, OR. I have been using the sort utility version 5.2.1 in LINUX and seem to be having a problem with special characters. If a line contains these characters, essentially anything beyond numbers and letters, they

Re: command date

2009-08-10 Thread Steve Ward
On Mon, Aug 10, 2009 at 20:40, Dmitri Ivanov wrote: > > echo $[ $(date --date="090309" +%s) - $(date --date="090308" +%s) ] > gives 82800 instead of 86400. > It seems that 1 hour is lost only for a special date: Mar 9, 2009 > > Dmitri Ivanov > > > Daylight-saving time transition in USA.

Re: C indentation tools: any recommendations?

2009-12-14 Thread Steve Ward
hat would > have been detected by a tool enforcing consistent style on that front. > > Have any of you found C code indenters or formatters you've liked? > > BTW, to make the above match what GNU indent produces, > you would have to adjust the indentation of each member, too. > > > I have used astyle <http://astyle.sourceforge.net/> in the past. It was effective once I got the options just right for my use. Steve

Re: Possible bug in sort -V

2009-12-15 Thread Steve Ward
tters. Why did you expect the 'e' to come before '2' and '6'? Steve P.S. You don't need to cat a file and pipe the output to sort. Sort can open files as input.

bug#5832: Feature request: uniq -k

2010-04-04 Thread Steve Ward
This might be relevant: uniq: missing option -W / --check-fields=N http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00168.html Steve On Sat, Apr 3, 2010 at 14:39, Raphael Clifford wrote: > Please excuse the cross-post but I have been told this is the > appropriate place to

bug#7463: truncate

2010-11-22 Thread Steve Ward
h > ".log"; instead I get a new file called "*.log" > > FYI, one of the first changes I make on a new installation is to alias > truncate in .bashrc: > alias ll='ls -l' > alias la='ls -A' > alias truncate='truncate --size 0' > > > > > In newer versions of truncate there is a "--no-create" option. Steve

date -d20060229 gives: "invalid date"

2006-08-28 Thread Steve Cousins
quot; does not work. It reports Feb 2. Steve -- ______ Steve Cousins, Ocean Modeling GroupEmail: [EMAIL PROTECTED] Marine Sciences, 452 Aubert Hall http://rocky.umeoce.maine.edu Univ. of Maine, Orono, ME 04469

Re: date -d20060229 gives: "invalid date"

2006-08-29 Thread Steve Cousins
Paul Eggert wrote: Steve Cousins <[EMAIL PROTECTED]> writes: date Versions 5.96 and 5.97 (at least) have a bug when passing dates that are greater than the actual number of days in a month. Previous versions (most of the machines seem to have 5.2.1) would convert the date to a c

Re: date -d20060229 gives: "invalid date"

2006-08-29 Thread Steve Cousins
Paul Eggert wrote: Steve Cousins <[EMAIL PROTECTED]> writes: Don't I love new "features" like this?! What is the purpose of this? Don't you just love date string parsing? It's a subtle area, full of surprises. Hi Paul, Yeah. I thought I had it worked

ordering of args gives different results for du

2007-06-03 Thread Steve Ward
uman_base_1024; output_block_size = 1; break; //--- Why does "--bytes" turn off "--human-readable"? Why does "--human-readable" turn on "--block-size=1"? Steve Ward ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

missing INSTALL file

2007-06-11 Thread Steve Ward
tions." However, the INSTALL file does not exist. Am I looking in the wrong place? Steve Ward ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: sha*sum and filenames with backslashes

2007-07-06 Thread Steve Ward
cters (or just escapable characters). BTW, I'm not suggesting that there be a "--quoting-style=" command line option in the *sum programs, but rather the style be internal. I personally think the "escape" quoting style would best fit what md5sum already does, but I guess it

Re: feature request: zero-terminated lines for comm

2007-09-20 Thread Steve Ward
I'm curious who's responsible for deciding the standards of filenames. Is it kernel people, fs people, a standards group, or other? And are there benefits of allowing control characters in filenames? Steve Ward ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: feature request: sort by human-readable disk sizes

2007-09-25 Thread Steve Ward
On 9/24/07, John Cowan <[EMAIL PROTECTED]> wrote: > > Justin Watt scripsit: > > It'd be great if "sort" had an option to sort by the "-h" output of > > the "du" command. > > Likewise df and ls. > > > Seems like it'd be pretty easy and really useful. What do you think? > > +1, but -h is not a good o

Re: /bin/cat : argument list is too long

2007-11-28 Thread Steve Ward
or the non-portable -maxdepth > 1 with find to limit results to the current directory. > > Why is -maxdepth 1 non-portable? Steve ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: Feature request: rm option that supports trash (plain text)

2008-02-06 Thread Steve Ward
e similar to the "Recycle Bin" behavior). # my del alias del='mv --verbose --backup=simple --suffix=$(date +".(%F_%T)") --target-directory=$HOME/.Trash/' Steve ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: Feature request: rm option that supports trash (plain text)

2008-02-10 Thread Steve Ward
On Feb 7, 2008 5:35 PM, Wilfred <[EMAIL PROTECTED]> wrote: > On 06/02/2008, Steve Ward <[EMAIL PROTECTED]> wrote: > > On Feb 5, 2008 12:59 PM, Bob Proulx <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > Wilfred wrote: > > > &

bug#12307: cut bug

2012-08-29 Thread Steve Roe
I found a cut bug while I was running on the terminal. I can cut one field and it will display as normal. However when I try and cut multiple fields, it does not. For example this is what I type - "-d: -f2, f3 inputfile.dat". The following message displays - "cut: fields and positions are numbered

bug#17765: julian date is not what you think

2014-06-12 Thread Steve Zornes
the date command uses %j to specify number of days since beginning of year. It looks as though %j is meant to mean Julian day which is ACTUALLY the number of days since the julian calendar started. Currently 2,000,000 or so. number of days since the beginning of the year is called ordinal date an

possible new feature for chmod

2003-08-04 Thread Steve Summit
I don't know how the GNU project feels about creeping features these days. Once upon a time, at least, the GNU versions of things were celebrated/notorious for their manifold extensions, and many of those extensions were useful as "prior art" guiding the deliberations of various standards bodies a

Re: possible new feature for chmod

2003-08-11 Thread Steve Summit
Thanks for your interest in the idea. My own feeling is that explicitly disambiguating an ls-style mode string (e.g. by prefixing it with '%', as Paul has suggested) is a nice solution to something that shouldn't be a problem. If it were 10 years ago, without Posix to worry about, we could just t

a bug in "touch"?

2004-01-28 Thread Steve Magee
mand. The file... -rwx--1 majordaemon 2173 Dec 31 12:30 x becomes... -rwx--1 majordaemon 2173 Dec 31 2004 x I believe this is a bug in the touch command. Thank you, Steve Magee Air Resources Board State of California

Re: a bug in "touch"?

2004-01-30 Thread Steve Magee
see the manpage disappear. It's part of UNIX like the who command. Thanks Steve Magee Bob Proulx wrote: > > Steve Magee wrote: > > I'm running RH v9 and using the touch command > > to keep the same date and time on files after a sort. > > Thanks for taking the

bug#21094: cp: add option to sort when copying

2015-07-19 Thread Steve Russell
When performing a recursive copy of a large number of files it would be helpful to have an option to copy the files in each directory in sorted order of the file names. There are a couple of use cases for this.   The first is to be able to easily observe the progress of the copy using the -v opt

bug#55029: Simple backup swaps source and destination files

2022-04-19 Thread Steve Ward
When doing mv or cp with --backup=simple, if an existing file in DIRECTORY has the same name as SOURCE, the files appear to be swapped instead of an in-place backup of the original file in DIRECTORY being made. It doesn't happen with --backup=numbered. SIMPLE_BACKUP_SUFFIX is not set. Steps to re

tail -1 * has unexpected output

2008-03-07 Thread steve+dated+1205342789 . 4f8983
2 tail: invalid option -- 1 Try `tail --help' for more information. - - Steve Webb - -- EMAIL: (h) [EMAIL PROTECTED] WEB: http://badcheese.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFH0XrEuiLvK4h2TGkRAnI1AJ9DNuPteO7NKwXCDsY2ibW3wNgX1gCghbU9 XJ5BuN2Yc1JFRlFItBZ

Re: tail -1 * has unexpected output

2008-03-11 Thread steve+dated+1205686402 . 816dc9
If the form "-1" is depreciated, shouldn't it fail for the single file invocation also? I'll grab version 6.10 and check it out. Thanks. - - Steve On Fri, 7 Mar 2008, Bob Proulx wrote: Date: Fri, 7 Mar 2008 21:01:47 -0700 From: Bob Proulx <[EMAIL PROTECTED]> To: [EMA

Re: tail -1 * has unexpected output

2008-03-11 Thread steve+dated+1205686707 . cabf1d
[~/coreutils-6.10/src] % ./tail -1 ~/z.1 this is z.1 - - Steve On Fri, 7 Mar 2008, Bob Proulx wrote: Date: Fri, 7 Mar 2008 21:01:47 -0700 From: Bob Proulx <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: bug-coreutils@gnu.org Subject: Re: tail -1 * has unexpected output [EMAIL PROTECTED] wrote: