Module: Diff::LCS::Ldiff

### Home Classes Methods

### In Files

- lib/diff/lcs/ldiff.rb

### Files

- Manifest.txt
- README.rdoc
- COPYING.txt
- artistic.txt

### Class/Module Index

Quicksearch

- Diff
- Diff::LCS
- Diff::LCS::BalancedCallbacks
- Diff::LCS::Block
- Diff::LCS::Change
- Diff::LCS::ContextChange
- Diff::LCS::ContextDiffCallbacks
- Diff::LCS::DefaultCallbacks
- Diff::LCS::DiffCallbacks
- Diff::LCS::HTMLDiff
- Diff::LCS::HTMLDiff::Callbacks
- Diff::LCS::Hunk
- Diff::LCS::Ldiff
- Diff::LCS::SDiffCallbacks
- Diff::LCS::SequenceCallbacks
- Array
- String

No matching classes.

# Diff::LCS::Ldiff

## ldiff Usage

    ldiff [options] oldfile newfile

-c | Displays a context diff with 3 lines of context.
-C [LINES], --context [LINES] | Displays a context diff with LINES lines of context. Default 3 lines.
-u | Displays a unified diff with 3 lines of context.
-U [LINES], --unified [LINES] | Displays a unified diff with LINES lines of context. Default 3 lines.
-e | Creates an 'ed' script to change oldfile to newfile.
-f | Creates an 'ed' script to change oldfile to newfile in reverse order.
-a, --text | Treats the files as text and compares them line-by-line, even if they do not seem to be text.
--binary | Treats the files as binary.
-q, --brief | Reports only whether or not the files differ, not the details.
--help | Shows the command-line help.
--version | Shows the version of Diff::LCS.

By default, runs produces an "old-style" diff, with output like UNIX diff.

## Copyright

Copyright &copy; 2004 Austin Ziegler

    Part of Diff::LCS <http://rubyforge.org/projects/ruwiki/>
    Austin Ziegler <diff-lcs@halostatue.ca>

This program is free software. It may be redistributed and/or modified under the terms of the GPL version 2 (or later), the Perl Artistic licence, or the Ruby licence.

### Constants

BANNER

[Validate]

Generated with the Darkfish Rdoc Generator 2.