Use single quotes to protect pattern from shell expanding and to escape the regex-reserved characters (e.g. Please note that the regex has to match the corresponding line in both files and it matches every changed line in the hunk in order to work, otherwise it'll still show the difference. GNU diffutilsįrom the command-line perspective, you can use -ignore-matching-lines=RE option for diff, for example: diff -d -I '^#' -I '^ #' file1 file2 Its rulesets and options provide for customized behavior. To use visual diff, you can try Meld or DiffMerge.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |