logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

lepton-refdes_renum - Lepton EDA refdes renumbering utility

Author

       Dan McMahill <danmcmahill@netbsd.org>

Description

lepton-refdes_renum  reads  a  lepton-schematic  schematic  file  or  files  and  renumbers all reference
       designators.  The reference designators are numbered starting with  1  and  the  old  schematic  file  is
       replaced by the modified schematic file.

Examples

       To renumber the reference designators in a single page schematic mysch.sch:

              lepton-refdes_renum mysch.sch

       To renumber the reference designators in schematic pages pg1.sch, pg2.sch and pg3.sch, with the reference
       designators on pg1.sch beginning at 101, the designators on pg2.sch beginning at 201, and the designators
       on pg3.sch beginning at 301:

              lepton-refdes_renum --pgskip pg1.sch pg2.sch pg3.sch

Name

       lepton-refdes_renum - Lepton EDA refdes renumbering utility

Options

--help, -h
              Display a help message.

       --nocopy
              If  given, this flag leaves the modified files in new files whose names are generated by appending
              a `.renum' to the original file names.  The default is to overwrite the original.

       --pgskip
              When this flag is used, components on the first schematic sheet are numbered  starting  with  101.
              On  the  second  sheet, they start with 201, etc  Specifying a value gives the step between pages.
              For example --pgskip 10 will start with 11, 21, 31, etc.

       --gentle
              This flag tells lepton-refdes_renum to leave any refdeses alone if they already have numbers.  Use
              this option to number new components in a schematic which has already been  numbered.   Note  that
              --gentle is set by default!

       --force
              Set this flag to renumber all refdeses, whether they are already numbered or not.

       --verbose
              Enables verbose output.

       --version
              Shows the version of this program.

Return Codes

lepton-refdes_renum returns the following codes to the shell upon completion:

       0      Program ran successfully.

       1      Error opening or reading input file.

       2      Error opening or writing output file.

       3      Too many components for --pgskip setting.

       4      Internal error (program bug encountered).

See Also

lepton-renum(1)

Synopsis

lepton-refdes_renum[--nocopy][--pgskip[number]]file1...lepton-refdes_renum--help|-hlepton-refdes_renum--version

See Also