wdiff - Patches: patch #8604, Feature to select by options...
You are not allowed to post comments on this tracker with your current authentication level.
patch #8604: Feature to select by options exactly what is whitespace
Submitter: | AshishKulkarni <coolashish88> | ||
Submitted: | Thu 19 Feb 2015 08:22:01 AM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Attached Files
file #33126: wdiff.patch added by coolashish88 (725B - text/x-patch - The file wdiff.patch contains the patch.I have used the version 0.6.5)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-02-19 | coolashish88 | Attached File | - | Added wdiff.patch, #33126 | |
Carbon-Copy | - | Added coolashish88 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Feature has been added to specify what is a whitespace. The 'u' option has been added and after the u option we can specify what is to be used as space.
e.g. diff -u : a.txt b.txt
In this case the ':' character will be used as whitespace.
In the earlier code, the isspace function was used to determine if the current character is a whitespace.Now a new function is_space has been written.This function matches the current character with the character to be used as whitespace and returns one if they match and zero if they do not match.
A new variable user_space has been defined to store what is to be used as whitespace.