| From | Sent On | Attachments |
|---|---|---|
| Julian Elischer | Dec 19, 1997 4:29 pm | |
| Greg Lehey | Dec 19, 1997 7:26 pm | |
| John-Mark Gurney | Dec 19, 1997 9:50 pm | |
| Bruce Evans | Dec 20, 1997 12:39 am | |
| John S. Dyson | Dec 20, 1997 1:03 am | |
| John Birrell | Dec 20, 1997 1:12 am | |
| J Wunsch | Dec 20, 1997 2:23 am | |
| Bruce Evans | Dec 20, 1997 3:39 am | |
| John Birrell | Dec 20, 1997 4:46 am | |
| Nate Williams | Dec 20, 1997 6:18 am | |
| John S. Dyson | Dec 20, 1997 6:34 am | |
| Mike Smith | Dec 20, 1997 8:15 am | |
| Mike Smith | Dec 20, 1997 8:20 am | |
| Bruce Evans | Dec 20, 1997 9:01 am | |
| Jordan K. Hubbard | Dec 20, 1997 10:17 am | |
| Archie Cobbs | Dec 20, 1997 10:26 am | |
| Jordan K. Hubbard | Dec 20, 1997 10:34 am | |
| John S. Dyson | Dec 20, 1997 10:42 am | |
| John S. Dyson | Dec 20, 1997 10:45 am | |
| John S. Dyson | Dec 20, 1997 10:49 am | |
| Terry Lambert | Dec 20, 1997 11:03 am | |
| Jordan K. Hubbard | Dec 20, 1997 11:13 am | |
| Terry Lambert | Dec 20, 1997 11:17 am | |
| Terry Lambert | Dec 20, 1997 11:20 am | |
| John S. Dyson | Dec 20, 1997 11:20 am | |
| Jordan K. Hubbard | Dec 20, 1997 11:29 am | |
| Bruce Evans | Dec 20, 1997 11:45 am | |
| Mike Smith | Dec 20, 1997 4:51 pm | |
| Mike Smith | Dec 20, 1997 4:54 pm | |
| Nate Williams | Dec 20, 1997 5:23 pm | |
| Greg Lehey | Dec 20, 1997 5:35 pm | |
| Greg Lehey | Dec 20, 1997 5:37 pm | |
| Greg Lehey | Dec 20, 1997 5:38 pm | |
| Brian Somers | Dec 20, 1997 6:55 pm | |
| J Wunsch | Dec 21, 1997 2:02 am | |
| J Wunsch | Dec 21, 1997 2:04 am | |
| Dmitrij Tejblum | Dec 21, 1997 6:08 am | |
| Greg Lehey | Dec 21, 1997 3:48 pm | |
| Nate Williams | Dec 21, 1997 6:10 pm | |
| Simon Shapiro | Dec 22, 1997 2:59 pm | |
| J Wunsch | Dec 23, 1997 12:02 pm | |
| Terry Lambert | Dec 26, 1997 5:03 pm | |
| Mikael Karpberg | Dec 26, 1997 6:42 pm | |
| John S. Dyson | Dec 26, 1997 7:51 pm | |
| Tim Vanderhoek | Dec 26, 1997 8:33 pm | |
| Mikael Karpberg | Dec 26, 1997 9:48 pm |
| Subject: | Re: Bruce vandalism again | |
|---|---|---|
| From: | Tim Vanderhoek (ho...@hwcn.org) | |
| Date: | Dec 26, 1997 8:33:45 pm | |
| List: | org.freebsd.freebsd-current | |
On Sat, 27 Dec 1997, Mikael Karpberg wrote:
Really, that's so much hard work anyway. Ok, I'm not for making it harder, doesn't a cdiff program (or option to diff) seem more sane? One that parses the c code, and ignores inserted/removed empty lines, tabs, spaces, and comments (possibly changeable with an option so you could get the comment
Well, diff --ignore-space-change would be a pretty good start (tabs, spaces, and empty lines :). Removing comments would be a pretty trivial lex program, or there are also a couple of infamous perl regexps which match C comments. To further reduce noise, both bits of code to be diffed could be run through indent first, converting them to a mutually unacceptable but consistent style. This then could all be bundled up into one program `cdiff'. :)
time in c files, as you accidently delete a tab, and replace it with spaces,
Well, if you used tabs and spaces in the right places, then this wouldn't be a problem. My rules, #1: never mix tabs and spaces to achieve the desired spacing, #2: never use tabs to align with text that wasn't aligned with the exact same number of tabs. These rules really reduce to: Make no stupid assumptions about the number of spaces in tabs. I edit with 3, 4, and 8 space tabs variously to ensure these rules are met. Needless to say, reading code not my own is always so depressing.
-- Outnumbered? Maybe. Outspoken? Never! tIM...HOEk





