[request-sponsor] Request 6623019

2007-10-31 Thread James Carlson
Dale Sears writes:
> I would like to be able to fix this bug and correct other bugs like  
> it when I find
> them in the man pages.
> 
> What format should patches for man pages be in?  That is, what command
> should I use to generate a diff or patch from original to the  
> corrected file?

I've had good luck doing something like this:

% man wificonfig | col -bx > wificonfig.1m.orig
% cp wificonfig.1m.orig wificonfig.1m.new
% emacs wificonfig.1m.new
% diff -u wificonfig.1m.orig wificonfig.1m.new > wificonfig.1m.diffs

And then providing orig, new, and diffs as attachments in the CR.

In the case of this bug, though, I don't see why we'd fix it.
Wificonfig should be replaced by dladm, and polishing the obsolete
tool doesn't seem like an improvement to me.  Perhaps that's just me,
though.

(Your address is sun.com ... why do you need in internal sponsor
... ?)

-- 
James Carlson, Solaris Networking  
Sun Microsystems / 35 Network Drive71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677



[request-sponsor] Request 6623019

2007-10-30 Thread Dale Sears
Hello,

I would like to be able to fix this bug and correct other bugs like  
it when I find
them in the man pages.

What format should patches for man pages be in?  That is, what command
should I use to generate a diff or patch from original to the  
corrected file?

Thanks,

Dale Sears