Re: --min-size option for du (patch)

2009-01-14 Thread Brock Noland
Hi, Not sure if this patch will be accepted or not, just wondering why awk won't work for this purpose? A quick example is below. I would think awk combined with sort could provide some very nicely formatted output. # du -sb * | awk '$1 1024*1024 {print $1/(1024*1024) MB, $2}' 7.5757MB 200707

[PATCH] tests/cp/cp-reply: --reply only accepts valid arguments

2008-04-30 Thread Brock Noland
appeared to be uncovered in: http://keeda.stanford.edu/~cristic/coreutils-dev-tests/src/ Feedback is appreciated. Respectfully, Brock From 5727ff8119dc96dc956acb16fb4a2e89500b4842 Mon Sep 17 00:00:00 2001 From: Brock Noland [EMAIL PROTECTED] Date: Wed, 30 Apr 2008 21:36:29 -0500 Subject: [PATCH] New

Re: [PATCH] tests/cp/cp-reply: --reply only accepts valid arguments

2008-04-30 Thread Brock Noland
On Wed, Apr 30, 2008 at 10:10 PM, Bob Proulx [EMAIL PROTECTED] wrote: Hopefully this helps, Yes, thank you! I will get to work... Which is preferred, one large patch or many small patches - one for each `logical' change? Brock ___ Bug-coreutils

Re: wordcount (wc)

2008-04-21 Thread Brock Noland
On Mon, Apr 21, 2008 at 9:27 AM, Almer S. Tigelaar [EMAIL PROTECTED] wrote: Hello, I have been using the 'wc' program (version 5.97) to manually verify some counts outputted by a component part of an application I am developing. I noticed that: echo 12345 | wc -m Gives me '6'

Re: dd skip bug?

2008-04-17 Thread Brock Noland
On Wed, Apr 16, 2008 at 11:30 PM, Brock Noland [EMAIL PROTECTED] wrote: snip I agree that I would expect if the file is seekable and seek fails, dd would exit. But here it looks like we just cannot seek that large of an offset? I implemented something that seeks in portions and it results

Re: [PATCH] Add new program: magic

2008-04-09 Thread Brock Noland
On Wed, Apr 9, 2008 at 8:52 PM, Matthew Woehlke [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: | So far, it includes the following utilities: | - sponge: soak up standard input and write to a file Eh? That sounds like 'cat file'... So you can read from and write to an existing

Re: Feature Request - prepend to file

2008-04-05 Thread Brock Noland
Eric, Thanks for your response. What shell commands have you been trying? I find the following to be relatively simple to do: { echo header; cat file; } file1 mv file1 file Yes, that's is effectively how I do it when I don't have the script described below available. However, its not

Re: Feature Request - prepend to file

2008-04-05 Thread Brock Noland
{ echo header; cat file; } file1 mv file1 file Yes, that's is effectively how I do it when I don't have the script In addition to the above if I restrict myself to programs that already know how to edit files in place I can think of a few additional easy ways. Sed of course comes

Re: Attempting to create a symbolic link from a file in current directory to a target directory creates broken symlink

2008-01-21 Thread Brock Noland
I get access denied when trying to view that bug. However, I believe you are using the command incorrectly. See the demonstration below. [EMAIL PROTECTED]:~$ pwd /home/noland [EMAIL PROTECTED]:~$ ls -la dir total 4 drwxr-xr-x 2 noland noland 48 2008-01-21 15:22 . drwxr-xr-x 75 noland noland