Re: Lastest busybox git prints lines before and after diff lines. (Not in recent change.
"Michael D. Setzer II via busybox" <[email protected]>
| Newsgroups | gmane.linux.busybox |
|---|---|
| Message-ID | <[email protected]> |
Checked a machine with previous busybox and it did same, so some earlier change? On 24 Aug 2026 at 22:02, Michael D. Setzer II via busy wrote: To: [email protected] Date sent: Mon, 24 Aug 2026 22:02:04 +1000 Subject: Lastest busybox git prints lines before and after diff lines. Priority: normal From: "Michael D. Setzer II via busybox" <[email protected]> Send reply to: [email protected] > Noticed a difference in diff between Fedora and busybox?? > Was comparing to files where lines with 1M changed to 4M > But busybox outputting different lines. > Fedora diff shows 108 lines while busybox diff is 151 lines? > > Made two small test files. > > $ cat test1 test2 > a > b > c > d > ex > f > g > > a > b > c > d > e > f > g > > Fedora diff just shows line 5 > $ diff test1 test2 > 5c5 > < ex > --- > > e > > Busybox diff shows additional lines? > $ busybox diff test1 test2 > --- test1 > +++ test2 > @@ -2,6 +2,6 @@ > b > c > d > -ex > +e > f > g > > +------------------------------------------------------------+ > Michael D. Setzer II - Computer Science Instructor (Retired) > mailto:[email protected] > mailto:[email protected] > mailto:[email protected] > Guam - Where America's Day Begins > G4L Disk Imaging Project maintainer > http://sourceforge.net/projects/g4l/ > +------------------------------------------------------------+ > > > > _______________________________________________ > busybox mailing list > [email protected] > https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.busybox.net%2fmailman%2flistinfo%2fbusybox&c=E,1,IfsK60pLww6ml-ySWhch9gfPhs1xH-SSrbCkhnG3l3Vlb6G8-5hLO8GMQFBEOMchBsEIN36CmMzqRxh7OrjzceeIoApv6593xFsAfY5AuHUT9ydhNWTySV0i-871&typo=1 +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:[email protected] mailto:[email protected] mailto:[email protected] Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+