Bug 7454 - diff -N does not work
Summary: diff -N does not work
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.22.x
Hardware: Other Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 06:18 UTC by Jiri Prchal
Modified: 2017-05-05 16:49 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:


Attachments
diff non exiting file with -N option (1.08 KB, patch)
2015-07-11 08:16 UTC, Dmitrey Salnikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prchal 2014-09-24 06:18:17 UTC
diff does not "Treat absent files as empty", insted of outputs error:

/ # diff -N /mnt/card/akpkg/sys.conf /var/aksum/sys.con
diff: can't stat '/var/aksum/sys.con': No such file or directory
Comment 1 Dmitrey Salnikov 2015-07-11 08:16:06 UTC
Created attachment 6101 [details]
diff non exiting file with -N option

Hi, I created patch. Maybe you can test it.
Comment 2 Denys Vlasenko 2017-05-05 16:49:42 UTC
Fixed in git, thanks