Messages in this thread | | | Subject | RE: linux-next: build failure after merge of the net-next tree | Date | Wed, 18 Dec 2013 11:07:34 -0000 | From | "David Laight" <> |
| |
> > And sort(1) is annoying in that it doesn't do in-place sort; you'll end > > up with empty files if you try the naive thing. > > > > Worse most of those Kbuild files include other random garbage, which > > makes automated sorting harder still. > > > > So unless there's a sane and easy way to keep it sorted; I'm going to > > ignore that rule. > > Not keeping them sorted causes merge conflicts and duplicate/missing > entries.
Edit in vi put cursor on the first line to be sorted and type !}sort (assuming there is a nice blank line at the end).
David
| |