RE: Trailing whitespace in FreeBSD

2003-02-11 Thread Abhay Kumar Srivastava
Do we have a format utility, similar to format in Solaris. 
This makes it easier to ident the C code.

Regards,
Abhay

-Original Message-
From: Peter Wemm [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 11, 2003 7:32 AM
To: Jordan Hubbard
Cc: Simon L. Nielsen; [EMAIL PROTECTED]
Subject: Re: Trailing whitespace in FreeBSD 

Jordan Hubbard wrote:
 Wow, deja-vu!

Hey! I've got a GREAT idea!  I whipped up this nifty perl script and
I can run it over the src tree to delete all the trailing whitespace!
And even better, I can collapse tabs at the beginning of lines! What
a great deal! That should be good for a few hundred commits!

:-)

 - Jordan
 
 On Monday, February 10, 2003, at 03:00 PM, Simon L. Nielsen wrote:
 
 
  Hello
 
  I have noticed that that several FreeBSD files (.c, .h and so on)
have
  trailing whitespace (spaces/tabs after last charecter on a line).
 
  Should I send patches for this, or is it not important to fix?
 
  A random example is stdbool.h v. 1.6 on line 30 which has a trailing
  tab.
 
  -- 
  Simon L. Nielsen
  mime-attachment
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the message
 

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-11 Thread Simon L. Nielsen
On 2003.02.10 17:41:47 -0800, Jordan Hubbard wrote:

 I have noticed that that several FreeBSD files (.c, .h and so on) have
 trailing whitespace (spaces/tabs after last charecter on a line).
 Wow, deja-vu!
/me runs and hides for not checking the achieves first :-)

-- 
Simon L. Nielsen



msg39895/pgp0.pgp
Description: PGP signature


Re: Trailing whitespace in FreeBSD

2003-02-11 Thread Nate Williams
 Heh, bet you didn't know that bento's predecessor was called thud.
 And we had a 'ripcord' for a while too.   I just dont remember exactly
 which machine it became.  I think it was a temporary name for the machine
 that became hub.

Don't forget gndrsh, which was freefall's replacement (and later became
freefall).



Nate

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-11 Thread Nate Williams
  Wow, deja-vu!
 
 Hey! I've got a GREAT idea!  I whipped up this nifty perl script and
 I can run it over the src tree to delete all the trailing whitespace!
 And even better, I can collapse tabs at the beginning of lines! What
 a great deal! That should be good for a few hundred commits!

Gofer it!  Make sure to forward your commit email to Rod when you're
done. :)



Nate

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Amit K. Rao
On Monday 10 February 2003 06:00 pm, Simon L. Nielsen wrote:
 Hello

 I have noticed that that several FreeBSD files (.c, .h and so on) have
 trailing whitespace (spaces/tabs after last charecter on a line).

 Should I send patches for this, or is it not important to fix?

 A random example is stdbool.h v. 1.6 on line 30 which has a trailing
 tab.

I believe a similar topic came up before :
http://groups.google.com/groups?hl=enlr=ie=UTF-8threadm=fa.gn23hlv.1h46h1l%40ifi.uio.nornum=1prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DISO-8859-1%26q%3Dwhitespace%2Bfreebsd%2Bat%2Bend%2Bof%2Bline%26btnG%3DGoogle%2BSearch

-Amit

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Jordan Hubbard
Wow, deja-vu!

- Jordan

On Monday, February 10, 2003, at 03:00 PM, Simon L. Nielsen wrote:



Hello

I have noticed that that several FreeBSD files (.c, .h and so on) have
trailing whitespace (spaces/tabs after last charecter on a line).

Should I send patches for this, or is it not important to fix?

A random example is stdbool.h v. 1.6 on line 30 which has a trailing
tab.

--
Simon L. Nielsen
mime-attachment



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Peter Wemm
Jordan Hubbard wrote:
 Wow, deja-vu!

Hey! I've got a GREAT idea!  I whipped up this nifty perl script and
I can run it over the src tree to delete all the trailing whitespace!
And even better, I can collapse tabs at the beginning of lines! What
a great deal! That should be good for a few hundred commits!

:-)

 - Jordan
 
 On Monday, February 10, 2003, at 03:00 PM, Simon L. Nielsen wrote:
 
 
  Hello
 
  I have noticed that that several FreeBSD files (.c, .h and so on) have
  trailing whitespace (spaces/tabs after last charecter on a line).
 
  Should I send patches for this, or is it not important to fix?
 
  A random example is stdbool.h v. 1.6 on line 30 which has a trailing
  tab.
 
  -- 
  Simon L. Nielsen
  mime-attachment
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the message
 

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Julian Elischer
Um, is the sarcasm needed?
The guy really does want to know if this would be helpful or not..

On Mon, 10 Feb 2003, Peter Wemm wrote:

 Jordan Hubbard wrote:
  Wow, deja-vu!
 
 Hey! I've got a GREAT idea!  I whipped up this nifty perl script and
 I can run it over the src tree to delete all the trailing whitespace!
 And even better, I can collapse tabs at the beginning of lines! What
 a great deal! That should be good for a few hundred commits!
 
 :-)
 
  - Jordan
  
  On Monday, February 10, 2003, at 03:00 PM, Simon L. Nielsen wrote:
  
  
   Hello
  
   I have noticed that that several FreeBSD files (.c, .h and so on) have
   trailing whitespace (spaces/tabs after last charecter on a line).
  
   Should I send patches for this, or is it not important to fix?
  
   A random example is stdbool.h v. 1.6 on line 30 which has a trailing
   tab.
  
   -- 
   Simon L. Nielsen
   mime-attachment
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-hackers in the body of the message
  
 
 Cheers,
 -Peter
 --
 Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
 All of this is for nothing if we don't go to the stars - JMS/B5
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Terry Lambert
Peter Wemm wrote:
 Jordan Hubbard wrote:
  Wow, deja-vu!
 
 Hey! I've got a GREAT idea!  I whipped up this nifty perl script and
 I can run it over the src tree to delete all the trailing whitespace!
 And even better, I can collapse tabs at the beginning of lines! What
 a great deal! That should be good for a few hundred commits!
 
 :-)

No, no!  We should run GNU indent on all code, as it's committed,
with a BDE-filter and FlexiLint on it!  That will fix *everything*,
since there is no such thing as a logic bug!

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Garance A Drosihn
On Monday, February 10, 2003, at 03:00 PM, Simon L. Nielsen wrote:


I have noticed that that several FreeBSD files (.c, .h and so
on) have trailing whitespace (spaces/tabs after last charecter
on a line).

Should I send patches for this, or is it not important to fix?


It might be nice to fix, in some abstract sense, but it drives
developers nuts if you modify a file that they've checked out a
local copy of.  They go to commit their change back in (a change
which is usually something more significant than a damn trailing
blank or tab character), and the commit runs into a conflict
because someone else has cleaned up the source code.

So, this is something that a developer might want to do if they
are going to be working on some source file anyway.  However, it
can really irritate a lot of developers if it is done across the
entire src tree just because it is easy to do.

Further, IMO it doesn't really help the FreeBSD project at all.
Imagine a new release which said And now with less blanks in the
source code! for the release notes.  Our end-users would think
we are nuts.  It is better to tackle a harder project -- one which
has an actual payback to the end users -- instead of looking for
something this easy to do.

Just my 2 cents.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Jordan K Hubbard
If you take up sky-diving* and chain-smoking next, we're gonna be 
REALLY worried** about you, Peter!

- Jordan

* Obligatory trivia: I wonder how many remember that freefall was named 
after Rod's passion for the sport
** Not that we aren't already.

On Monday, February 10, 2003, at 06:01 PM, Peter Wemm wrote:

Jordan Hubbard wrote:

Wow, deja-vu!


Hey! I've got a GREAT idea!  I whipped up this nifty perl script and
I can run it over the src tree to delete all the trailing whitespace!
And even better, I can collapse tabs at the beginning of lines! What
a great deal! That should be good for a few hundred commits!

:-)


- Jordan

On Monday, February 10, 2003, at 03:00 PM, Simon L. Nielsen wrote:



Hello

I have noticed that that several FreeBSD files (.c, .h and so on) 
have
trailing whitespace (spaces/tabs after last charecter on a line).

Should I send patches for this, or is it not important to fix?

A random example is stdbool.h v. 1.6 on line 30 which has a trailing
tab.

--
Simon L. Nielsen
mime-attachment


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message


--
Jordan K. Hubbard
Engineering Manager, BSD technology group
Apple Computer


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Jordan K Hubbard
Needed?  Probably not.  But look at it this way - he's learned a lot 
more about FreeBSD project history and why this one's such an exposed 
nerve in the process than he probably ever would have otherwise.  Did 
he want to learn this?  Well, we'll just have to let him answer that 
for himself. :)

- Jordan

On Monday, February 10, 2003, at 06:17 PM, Julian Elischer wrote:

Um, is the sarcasm needed?
The guy really does want to know if this would be helpful or not..

On Mon, 10 Feb 2003, Peter Wemm wrote:


Jordan Hubbard wrote:

Wow, deja-vu!


Hey! I've got a GREAT idea!  I whipped up this nifty perl script and
I can run it over the src tree to delete all the trailing whitespace!
And even better, I can collapse tabs at the beginning of lines! What
a great deal! That should be good for a few hundred commits!

:-)


- Jordan

On Monday, February 10, 2003, at 03:00 PM, Simon L. Nielsen wrote:



Hello

I have noticed that that several FreeBSD files (.c, .h and so on) 
have
trailing whitespace (spaces/tabs after last charecter on a line).

Should I send patches for this, or is it not important to fix?

A random example is stdbool.h v. 1.6 on line 30 which has a trailing
tab.

--
Simon L. Nielsen
mime-attachment


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message


--
Jordan K. Hubbard
Engineering Manager, BSD technology group
Apple Computer


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Mike Silbersack

On Mon, 10 Feb 2003, Jordan K Hubbard wrote:

 * Obligatory trivia: I wonder how many remember that freefall was named
 after Rod's passion for the sport

I've always wondered about that...  unfortunately, the answer is much less
exciting than I had expected it to be.

THANKS FOR RUINING MY BELIEFS ABOUT FREEBSD, JORDAN.

/me goes off in search of a new hobby with new mysteries.

Mike Silby Silbersack

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread northern snowfall


THANKS FOR RUINING MY BELIEFS ABOUT FREEBSD, JORDAN.


Hahaha
Take that, Silbersack's beliefs!






To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Brandon D. Valentine
On Tue, Feb 11, 2003 at 12:08:59AM -0500, northern snowfall wrote:
 
 
 THANKS FOR RUINING MY BELIEFS ABOUT FREEBSD, JORDAN.
 
 Hahaha
 Take that, Silbersack's beliefs!

Why, they've been sacked.  *duck*

Brandon D. Valentine
-- 
[EMAIL PROTECTED] http://www.geekpunk.net

We've been raised on replicas of fake and winding roads, and day after day up
on this beautiful stage we've been playing tambourine for minimum wage, but we
are real; I know we are real.  -- David Berman

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Peter Wemm
Mike Silbersack wrote:
 
 On Mon, 10 Feb 2003, Jordan K Hubbard wrote:
 
  * Obligatory trivia: I wonder how many remember that freefall was named
  after Rod's passion for the sport
 
 I've always wondered about that...  unfortunately, the answer is much less
 exciting than I had expected it to be.
 
 THANKS FOR RUINING MY BELIEFS ABOUT FREEBSD, JORDAN.

Heh, bet you didn't know that bento's predecessor was called thud.
And we had a 'ripcord' for a while too.   I just dont remember exactly
which machine it became.  I think it was a temporary name for the machine
that became hub.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message