On Tue, Oct 06, 2009 at 11:45:36PM -0700, David Allen wrote:
> I keep bumping up against this, so I thought I'd throw this question out
> to those who understand sed better than I do.
>
> What I'm trying to do is to clean up the contents of some files
> (/sys/i386/conf/GENERIC would be a good exam
David Allen wrote:
> I keep bumping up against this, so I thought I'd throw this question out
> to those who understand sed better than I do.
>
> What I'm trying to do is to clean up the contents of some files
> (/sys/i386/conf/GENERIC would be a good example) to get more readable
> diffs.
Uh, I know I'm stating the obvious, but you might try these 2
techniques to enhance your diff experience:
1. Use "diff -w".
2. Do "cat filename | sort > filename.sorted" for both files you are
diffing, and then compare both sorted files.
___
freebsd-ques
I keep bumping up against this, so I thought I'd throw this question out
to those who understand sed better than I do.
What I'm trying to do is to clean up the contents of some files
(/sys/i386/conf/GENERIC would be a good example) to get more readable
diffs. To that end, I'm trying to use sed to