(I found this while testing a new version of 'install-sh'.)
Here's a scenario illustrating the problem.
$ mkdir -m a-r -p a/b
$ rm -fr a
rm: cannot open directory `a/b': Permission denied
rm: cannot remove directory `a': Directory not empty
$ ls -ld a a/b
drwxr-xr-x 3 eggert egg
Matt Keenan wrote:
>
> Paul Eggert wrote:
>
>> Matt Keenan <[EMAIL PROTECTED]> writes:
>>
>>
>>
>>> Paul Eggert has mentioned that upstream uniq has never had a -W
>>> flag. Would you be receptive to a patch?
>>>
>>
>>
>> I'm not sure. Does any distribution other than Debian-derived
>> di
Dan Jacobson wrote:
> $ dmesg|sort|uniq -D -c
> uniq: printing all duplicated lines and repeat counts is meaningless
> Try `uniq --help' for more information.
>
> Meaningless for you, but just what I want:
>
> $ dmesg|sort|uniq -D|uniq -c
> 5 EXT3-fs: mounted filesystem with ordered data mo
The reason for this I think is so that one gets accurate totals,
as the following will only give subtotals for each invocation of wc,
if there are enough files to make the cmd line go above the max len.
find -print0 | xargs --null wc
Might be worth adding text to that affect,
as I needed to think
Pádraig Brady <[EMAIL PROTECTED]> wrote:
> The reason for this I think is so that one gets accurate totals,
> as the following will only give subtotals for each invocation of wc,
> if there are enough files to make the cmd line go above the max len.
>
> find -print0 | xargs --null wc
Right.
> Mig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Dan Jacobson on 6/24/2006 3:59 PM:
>
> EB> That's pretty clear to me. The --help output (and thus man pages)
> EB> are intentionally less verbose, since GNU projects favor info
> EB> documentation.
>
> well I'm a man man... usually good
Paul Eggert <[EMAIL PROTECTED]> wrote:
> (I found this while testing a new version of 'install-sh'.)
>
> Here's a scenario illustrating the problem.
>
>$ mkdir -m a-r -p a/b
>$ rm -fr a
>rm: cannot open directory `a/b': Permission denied
>rm: cannot remove directory `a': Directory n
I would notice that the "-w" options only works if the upper limit is
a number up to
99. With number 999 (there is one "9" more) that does not works anymore.
I'm using version 5.2.1 provided by the ubuntu Dapper distribution.
Regards and thank you very much for your work and attention.
--
Hi
I have a problem creating a symbolic link in the /dos/ partition
(fat32) of the linux. I can create elsewhere but not here. I am using
Mandriva 2006 and I need to work on the dos partition because I
visualize the results in windows. Please help.
Thank you
Serdar
___
Jim Meyering wrote:
> The description of wc's --files0-from is nearly identical
> to that of du. I've added an example:
> ...
> [EMAIL PROTECTED]
> +find . -name '*.[ch]' -print0 | ./wc -L --files=- | tail -n1
> [EMAIL PROTECTED] example
Here you are using the substring abbreviation --files for
-
[EMAIL PROTECTED] (Bob Proulx) wrote:
> Jim Meyering wrote:
>> The description of wc's --files0-from is nearly identical
>> to that of du. I've added an example:
>> ...
>> [EMAIL PROTECTED]
>> +find . -name '*.[ch]' -print0 | ./wc -L --files=- | tail -n1
>> [EMAIL PROTECTED] example
>
> Here you a
Matt Keenan <[EMAIL PROTECTED]> writes:
> Making a patch from the debian sources is not a difficult task
> and I can provide one if necessary.
On thinking about it further, I like the idea of having 'uniq' be
consistent with 'sort', but I'd prefer 'uniq' to have the same syntax
as 'sort', i.e, 'u
Paul Eggert <[EMAIL PROTECTED]> wrote:
> Matt Keenan <[EMAIL PROTECTED]> writes:
>
>> Making a patch from the debian sources is not a difficult task
>> and I can provide one if necessary.
>
> On thinking about it further, I like the idea of having 'uniq' be
> consistent with 'sort', but I'd prefer
"Fabio Spelta" <[EMAIL PROTECTED]> writes:
> I would notice that the "-w" options only works if the upper limit is
> a number up to
> 99. With number 999 (there is one "9" more) that does not works
> anymore.
That's the documented behavior for 'seq', since the default format is
%g. Perh
Jim Meyering wrote:
[snip snip]
I agree, and think I wrote exactly the same thing: uniq needs the same
-k key-selection options as sort -- probably in response to a request
to integrate the Debian patch. I went to look for it a couple days ago,
but got side-tracked.
I am happy to write
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to [EMAIL PROTECTED] on 6/26/2006 8:20 AM:
> Hi
> I have a problem creating a symbolic link in the /dos/ partition
> (fat32) of the linux. I can create elsewhere but not here. I am using
> Mandriva 2006 and I need to work on the dos partition
Matt Keenan <[EMAIL PROTECTED]> wrote:
> Jim Meyering wrote:
>> [snip snip]
>> I agree, and think I wrote exactly the same thing: uniq needs the
>> same
>> -k key-selection options as sort -- probably in response to a request
>> to integrate the Debian patch. I went to look for it a couple days
17 matches
Mail list logo