'-D' option of diff 3.9 - #ifdef directives missing
![](https://seccdn.libravatar.org/avatar/6efcef3d9748aadcb5e18e655e007079.jpg?s=120&d=mm&r=g)
9 Feb
2023
9 Feb
'23
23:58
Hi, There has been no response to my bug report at: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61193 Can anyone else at least confirm this problem (on Tumbleweed)? The output from 'diff -D' (v3.9) is missing the '#ifdef' directives. Version 3.8 of diff works ok, so it may be fine on Leap. The following creates a file 'c', and diffs it with a couple lines deleted, using three different options. diff -v |grep diff seq 5 > c for OPT in '' '-D ZZZ' '-u' ;do printf '\n=== diff %s\n' "$OPT" sed 2,3d c |diff $OPT c - done -- Robert Webb
738
Age (days ago)
738
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Webb