- Publicity: Public Only All
util-diff-procs.tcl
Procedures to generate pretty formatted diffs of some text
- Location:
- packages/acs-tcl/tcl/util-diff-procs.tcl
Procedures in this file
- util::diff (public)
- util::html_diff (public)
Detailed information
util::diff (public)
util::diff [ -old old ] [ -new new ] [ -show_old_p show_old_p ]
Perform a UNIX diff on 'old' and 'new', and return an HTML fragment of the changes. Requires struct::list (from tcllib)
- Switches:
- -old (optional)
- original text
- -new (optional)
- new text
- -show_old_p (optional, defaults to
"t"
)- Returns:
- HTML fragment of differences between 'old' and 'new'
- Author:
- Vinod Kurup vinod@kurup.com
- Created:
- 2005-10-18
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
util::html_diff (public)
util::html_diff [ -old old ] [ -new new ] [ -show_old_p show_old_p ]
Perform a UNIX diff on 'old' and 'new', and return an HTML fragment of the changes. Requires struct::list (from tcllib)
- Switches:
- -old (optional)
- original text
- -new (optional)
- new text
- -show_old_p (optional, defaults to
"t"
)- Returns:
- HTML fragment of differences between 'old' and 'new'
- Author:
- Vinod Kurup vinod@kurup.com
- Created:
- 2005-10-18
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.