sort -t: -k1 behaves strangely

2007-04-23 Thread John Cowan
in Solaris 9's sort. Is this a regression, or was sort fixed to match the SVR4 behavior? -- Long-short-short, long-short-short / Dactyls in dimeter, John Cowan Verse form with choriambs / (Masculine rhyme): [EMAIL PROTECTED] One sentence (two stanzas) / Hexasyllabically Challenges

Re: sort -t: -k1 behaves strangely

2007-04-24 Thread John Cowan
rather than colon-delimited files. -- The man that wanders far[EMAIL PROTECTED] from the walking tree http://www.ccil.org/~cowan --first line of a non-existent poem by: John Cowan ___ Bug

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread John Cowan
? Probably it should be chmod 755 . or so. Quite right: u= resets only the user bits, leaving the group and other bits alone. This is the actual behavior of coreutils 6.7 (which is the latest Cygwin release) and the specified behavior of SUSv3. -- John Cowan[EMAIL

Re: Default number of overwrites in shred

2007-05-03 Thread John Cowan
Philip Rowlands scripsit: It's tricky to view security/performance tradeoffs to be anything but ratchet-like, only ever towards security. Hmm. You know, this ward lock you have on your front door here is very insecure. It's easy to cut a skeleton key that will open it. Oh, no problem! We

Re: Workaround for hostid on Darwin 8/MacPPC

2007-05-03 Thread John Cowan
, John Cowan play hard, [EMAIL PROTECTED] die young, http://www.ccil.org/~cowan rot quickly. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http

Re: Default number of overwrites in shred

2007-05-04 Thread John Cowan
Jim Meyering scripsit: My reflex was to object. Reducing the default number of passes from 25 to 1 seemed extreme. But after skimming through the link below, it's hard to argue :-) Still, there may be older disks hanging about. How about making the number of passes inversely proportional

Re: chmod octal form of sgid/suid removal fails

2007-05-12 Thread John Cowan
digit, if given, should be believed rather than treated as an OR mask. -- John Cowan [EMAIL PROTECTED] http://www.ccil.org/~cowan .e'osai ko sarji la lojban. Please support Lojban! http://www.lojban.org

Re: chmod octal form of sgid/suid removal fails

2007-05-14 Thread John Cowan
2755 DIR silently ignores the 2. Quite so. File modes are a mess, anyway. I suppose that on the whole stability trumps correctness. -- As you read this, I don't want you to feel John Cowan sorry for me, because, I believe everyone [EMAIL PROTECTED] will die someday

Re: Observations: rm--help:Deleting bulk files using rm

2007-05-22 Thread John Cowan
John Cowan [EMAIL PROTECTED] are the same thing. --Hannah Arendthttp://www.ccil.org/~cowan ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: cp copy command

2007-05-31 Thread John Cowan
Matthew Woehlke scripsit: Unless you are root, this seems to be correct; you can't give away files unless you are root... On some systems. -- Overhead, without any fuss, the stars were going out. --Arthur C. Clarke, The Nine Billion Names of God John Cowan [EMAIL

Re: SEQ BUG

2007-06-07 Thread John Cowan
0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1 is actually greater than 0.9; consequently, 0.9 is not printed. You should never iterate using floating-point fractions for this reason. -- Where the wombat has walked,John Cowan [EMAIL PROTECTED] it will inevitably walk again. http

Re: SEQ BUG

2007-06-07 Thread John Cowan
Micah Cowan scripsit: You need to use something more like: $ echo `seq 0.0 0.1 0.91` 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Or better yet, use `seq 0 9` and prepend the 0. part yourself. (The Cowan twins strike again!) -- A witness cannot give evidence of his John Cowan age unless

Re: SEQ BUG

2007-06-07 Thread John Cowan
gmp seems to be the obvious candidate. -- Knowledge studies others / Wisdom is self-known; John Cowan Muscle masters brothers / Self-mastery is bone; [EMAIL PROTECTED] Content need never borrow / Ambition wanders blind; http://ccil.org/~cowan Vitality cleaves to the marrow / Leaving

Re: rmdir fails?

2007-06-08 Thread John Cowan
to remove the directory with its contents, you need not rmdir but rm -rf. -- Even the best of friends cannot John Cowan attend each others' funeral.[EMAIL PROTECTED] --Kehlog Albran, The Profit http://www.ccil.org/~cowan

Re: recover the contents of a file

2007-06-08 Thread John Cowan
Viviana Piccolo scripsit: Hi, I would like to recover the content of some files I've removed with rm. Probably too late by now. You have to act before any more files are created or written to, in general. -- Income tax, if I may be pardoned for saying so, John Cowan is a tax

Re: nohup feature request / Please fwd to Jim Meyering

2007-06-12 Thread John Cowan
at all. If nohup were to run its program using a pipe to intercept standard output and error, it wouldn't be able to tell child output from grandchild output. Data in a pipe is not tagged with its originator in any way. -- In politics, obedience and support John Cowan [EMAIL PROTECTED

Re: ls should not color output when --color=auto is used in environment TERM=dumb

2007-06-13 Thread John Cowan
that LS_COLORS is /set/, but has a null value. +1 -- Schlingt dreifach einen Kreis vom dies!John Cowan [EMAIL PROTECTED] Schliesst euer Aug vor heiliger Schau, http://www.ccil.org/~cowan Denn er genoss vom Honig-Tau, Und trank die Milch vom Paradies.-- Coleridge (tr. Politzer

Re: aux.* as filename

2007-06-24 Thread John Cowan
?, , , , *, |, and : cannot be used in Windows filenames or directory names. -- John Cowan http://ccil.org/~cowan[EMAIL PROTECTED] We want more school houses and less jails; more books and less arsenals; more learning and less vice; more constant work and less crime; more leisure and less greed; more

Re: aux.* as filename

2007-06-24 Thread John Cowan
. -- Work hard, John Cowan play hard, [EMAIL PROTECTED] die young, http://www.ccil.org/~cowan rot quickly. ___ Bug-coreutils mailing list Bug

Re: aux.* as filename

2007-06-24 Thread John Cowan
is the original author. -- Don't be so humble. You're not that great. John Cowan --Golda Meir[EMAIL PROTECTED] ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman

Re: aux.* as filename

2007-06-24 Thread John Cowan
. If the version is ready, could you post it to a cygwin mailing list, with the question to include doschk in the standard distribution? Now it isn't. I will. -- John Cowan [EMAIL PROTECTED] Mr. Lane, if you ever wish anything that I can do, all you will have to do will be to send me

Re: Bug in pr?

2007-07-02 Thread John Cowan
the paper up one line, the other moved it up 66 lines (or however long might be the loop of paper tape that controlled paper motion). So I'd say it's right to remove the final LF and substitute FF for it, rather than adding FF to LF. -- John Cowan [EMAIL PROTECTED] http://ccil.org/~cowan If he has

Re: df reporting and removing files (Re: (no subject))

2007-07-18 Thread John Cowan
Elmian Shabahang scripsit: as I get , some processes are still blocking the file. How can I find and kill them? There is no portable way. However, if your system provides the lsof command, you can use that to discover the files currently open and the processes that hold them open. -- John

Re: Feature request for cut and/or sort

2007-07-23 Thread John Cowan
the rules. -- John Cowan http://www.ccil.org/~cowan[EMAIL PROTECTED] You tollerday donsk? N. You tolkatiff scowegian? Nn. You spigotty anglease? Nnn. You phonio saxo? Nnnn. Clear all so! `Tis a Jute (Finnegans Wake 16.5

Re: [bug #20784] mv should be able to change filename case on case-insensitive file systems

2007-08-14 Thread John Cowan
be fixed. Note that it has to do with the behavior of the file system, not the OS as such, and any file system might be mounted in any OS these days. (The workaround is mv Foo gibblebobble; mv gibblebobble foo.) -- I am expressing my opinion. When myJohn Cowan honorable

Re: DWIM feature request for cp

2007-08-15 Thread John Cowan
), but it should at least be thought about. -- John Cowan [EMAIL PROTECTED] http://www.ccil.org/~cowan Today an interactive brochure website, tomorrow a global content management system that leverages collective synergy to drive outside of the box thinking and formulate key objectives

Re: mv can't change filename case on case-insensitive file systems

2007-08-16 Thread John Cowan
Jonathan Lennox scripsit: No, on Cygwin rename(2) will change file case: Ah, sorry. I had mixed up what rename(2) does with what mv does. -- First known example of political correctness: John Cowan After Nurhachi had united all the other http://www.ccil.org/~cowan Jurchen tribes

Re: ls -Rd behavior

2007-08-17 Thread John Cowan
visits; -d is about what it prints when it visits them. -Rd, then, should visit every object in the tree below each argument, printing the same information about each of them (rather than treating directories specially). -- Mos Eisley spaceport. You will never John Cowan see a more

Re: ls -Rd behavior

2007-08-18 Thread John Cowan
coreutils behaves for other tough choices, such as 'mv -t dest -T src'. Not comparable: -t and -T really are logically contradictory, and the error message is sensible. -- John Cowanhttp://ccil.org/~cowan[EMAIL PROTECTED] Mr. Henry James writes fiction as if it were a painful duty

Re: [PATCH] Command line parsing of ls with genparse

2007-08-28 Thread John Cowan
. People tend to believe that .c files depend on .h files that they include, but in fact they don't; the .o file depends on both the .c file and the .h file. See Recursive Make Considered Harmful for a discussion of this. -- Eric Raymond is the Margaret Mead John Cowan of the Open Source

Re: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment

2007-09-05 Thread John Cowan
of the past showJohn Cowan that there has always been a discrepancy[EMAIL PROTECTED] between plans and performance. http://www.ccil.org/~cowan --Emperor Hirohito, August 1945 ___ Bug-coreutils mailing

Text tools, line endings, and O_TEXT

2007-09-06 Thread John Cowan
to DTRT as a result. -- Even the best of friends cannot John Cowan attend each others' funeral.[EMAIL PROTECTED] --Kehlog Albran, The Profit http://www.ccil.org/~cowan ___ Bug-coreutils mailing

Re: Text tools, line endings, and O_TEXT

2007-09-06 Thread John Cowan
Eric Blake scripsit: John Cowan cowan at ccil.org writes: Are you saying that an O_TEXT open under Cygwin, given a binary mount, will cause newline translation? I had assumed that O_TEXT would be ignored under Cygwin just as it is under Linux. Yes. The cygwin behavior is as follows

Re: Text tools, line endings, and O_TEXT

2007-09-06 Thread John Cowan
(0x25) and CR (0x0D) don't have any special meaning to such systems. CR+NEL arises when CR+LF text is mindlessly translated to EBCDIC using a special map ASCII LF to EBCDIC NEL rule. -- John Cowan [EMAIL PROTECTED] http://ccil.org/~cowan It's the old, old story. Droid meets droid. Droid

Re: Text tools, line endings, and O_TEXT

2007-09-06 Thread John Cowan
sense, given it is on a Windows platform after all). The goal of behaving like Linux is only applicable when you use APIs that are available in Linux (ie. avoid the cygwin extensions of explicit text mount files). Fair enough. -- John Cowanhttp://www.ccil.org/~cowan [EMAIL PROTECTED

Re: feature request: zero-terminated lines for comm

2007-09-09 Thread John Cowan
think. Are you really worried about filenames that contain newlines? -- You are a child of the universe no less John Cowan than the trees and all other acyclichttp://www.ccil.org/~cowan graphs; you have a right to be here.[EMAIL PROTECTED] --DeXiderata by Sean

Re: feature request: zero-terminated lines for comm

2007-09-09 Thread John Cowan
' and many others too) that's a different matter. -- Not to perambulate John Cowan [EMAIL PROTECTED] the corridors http://www.ccil.org/~cowan during the hours of repose in the boots of ascension. --Sign in Austrian ski-resort hotel

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

2007-09-24 Thread John Cowan
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 option, I think. -- Time alone is real John Cowan

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

2007-09-25 Thread John Cowan
. You can't say A is John Cowan [EMAIL PROTECTED] made of B or vice versa. All mass http://www.ccil.org/~cowan is interaction. --Richard Feynman ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug

Re: a bug in date concerning daylight saving time

2007-09-28 Thread John Cowan
Naturally, since 2007-10-14T00:00:00 of course exists in UTC. -- On the Semantic Web, it's too hard to prove John Cowan[EMAIL PROTECTED] you're not a dog. --Bill de hOra http://www.ccil.org/~cowan ___ Bug-coreutils mailing list Bug

Re: linecut development

2007-10-13 Thread John Cowan
out-of-order ranges means that some kind of buffering will be needed. The only safe strategy is to do what sort does, and copy the input to a disk file. -- Why are well-meaning Westerners so concerned that John Cowan the opening of a Colonel Sanders in Beijing means [EMAIL PROTECTED] the end

Re: tac --separator

2008-02-04 Thread John Cowan
Andreas Schwab scripsit: John Cowan [EMAIL PROTECTED] writes: Having or not having a terminating space is irrelevant, just as it's normally irrelevant whether you have a terminating newline. Not for tac, it never adds a separator on its own. A line that has no separator on input

Re: tac --separator

2008-02-04 Thread John Cowan
normally irrelevant whether you have a terminating newline. -- John Cowanhttp://ccil.org/~cowan[EMAIL PROTECTED] Economists were put on this planet to make astrologers look good. --Leo McGarry ___ Bug-coreutils mailing list Bug-coreutils