lepton-schdiff(1)
πΈ lepton-schdiff β the manual page, but make it make sense π
okay bestie, so this is the manual for lepton-schdiff, which is a graphical diff tool for schematics β¨ β and yes, this is the one from Lepton EDA. Sit down, grab a boba, we're doing this π§
β¨ NAME β¨
lepton-schdiff β Graphical diff tool for schematics π
β¨ SYNOPSIS β¨
lepton-schdiff [-d VIEWER] infile1.sch infile2.sch
β¨ DESCRIPTION β¨
So here's the vibe: lepton-schdiff uses ImageMagick(1) to show you a graphical diff of two schematic files. π¦
It's most useful when you pair it with a revision control system, because then it can compare two revisions of the same file, let you review changes, etc. π But β and this is the catch β it's limited: it can only compare two files at a time. It cannot diff entire directories, and it cannot diff an entire revision (unless that revision happened to touch only one file). π
If you pass a VIEWER command, that command is what gets used to display the result. By default it's the display program from the ImageMagick package. π
And the best part? lepton-schdiff can easily be configured to work with most revision control systems. Here's the tea for three of them:
π git
Use the difftool command exactly like you'd use diff, but supply the -x lepton-schdiff option. periodt.
π§ mercurial
Use the lepton-schdiff command exactly like you'd use diff, but add these lines to your .hgrc:
[extensions]
hgext.extdiff =
[extdiff]
cmd.schdiff = lepton-schdiff
π¦ subversion
Use the diff command like normal, but supply the --diff-cmd lepton-schdiff option. slay.
Note: To make lepton-schdiff work properly, all page contents should be enclosed in some form of bounding box (e.g. a title block). Otherwise the symbols in the exported images could have different relative positions and/or sizes, resulting in a difference image that is rather hard to comprehend. π fr fr, box your page.
β¨ EXAMPLES β¨
Use git to view the changes to a file between two revisions π₯
git difftool -x lepton-schdiff 182110f 039e012 cpu.sch
Use mercurial to see all the changes since a specific revision π
hg schdiff -r 8442880f9835 cpld.sch
Use subversion to review a specific revision β
svn diff --diff-cmd lepton-schdiff -c 49 power.sch
β¨ BUGS β¨
If you find one, please report it at https://github.com/lepton-eda/lepton-eda/issues π«Ά no gatekeeping, we wanna know.
β¨ AUTHOR β¨
Alan Somers β icon, legend, author π
β¨ SEE ALSO β¨
composite(1), display(1), git(1), lepton-schematic(1), hg(1), svn(1) π
iykyk π§
β¨ COPYRIGHT β¨
Copyright Β© 2011-2014 gEDA Contributors.
Copyright Β© 2018-2022 Lepton EDA Contributors.
License GPLv2+: GNU GPL version 2 or later. Please see the COPYING file included with this program for full details.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. π (yes bestie, that part is real, not me being dramatic)
okay that's the whole thing, mwah π This was lepton-schdiff(1), manual for Lepton EDA, version 1.9.18.20220529, dated May 29, 2022. go diff some schematics, you've got this πΈπ¦β¨
π¦ where this page comes from
- debian bookworm: lepton-eda 1.9.18-1 Β· GPL-2.0-or-later
- debian trixie: lepton-eda 1.9.18-3 Β· GPL-2.0-or-later
- nixos 26.05: lepton-eda 1.9.18-20220529
- nixpkgs unstable: lepton-eda 1.9.18-20220529
- ubuntu noble: lepton-eda 1.9.18-2build2 Β· GPL-2.0-or-later
- ubuntu questing: lepton-eda 1.9.18-3
- ubuntu resolute: lepton-eda 1.9.18-4 Β· GPL-2.0-or-later
- ubuntu stonking: lepton-eda 1.9.18-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms