lepton-refdes_renum(1)

πŸ“¦
version 1.9.18 Β· 2 versions
  • 1.9.18 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.9.16 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– lepton-refdes_renum β€” bestie edition πŸ’–

okay so like, this is the manual page for lepton-refdes_renum(1), a.k.a. the Lepton EDA refdes renumbering utility from the Lepton EDA suite. it's giving "let me fix ur reference designators, babe" energy and honestly? we're obsessed. ✨


🌸 NAME 🌸

lepton-refdes_renum β€” the Lepton EDA refdes renumbering utility, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

lepton-refdes_renum [--nocopy] [--pgskip [ number ] ] file1 ...

lepton-refdes_renum --help|-h

lepton-refdes_renum --version

✨ DESCRIPTION ✨

so basically lepton-refdes_renum reads a lepton-schematic schematic file (or a whole lil squad of files) and renumbers all the reference designators. the refdeses get numbered starting with 1, and the old schematic file gets replaced by the modified one. it's a glow-up, but for your refdeses. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • --help, -h β€” shows u a help message. friendly vibes only. 🫢
  • --nocopy β€” if u pass this flag, the modified files get left in new files whose names are made by appending a .renum to the original file names. the default tho? the default is to overwrite the original. so like, if u didn't say --nocopy, bestie, it's overwriting. πŸ™ˆ
  • --pgskip β€” when this flag is used, components on the first schematic sheet start getting numbered at 101. on the second sheet they start with 201, etc. and if u specify a value, that's the step between pages. for example, --pgskip 10 will start with 11, 21, 31, etc. math queen behavior. πŸ‘‘
  • --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 that's already been numbered. note that --gentle is set by default! so it's like, the standard vibe already. 🌸
  • --force β€” set this flag to renumber all refdeses, whether they're already numbered or not. no mercy. periodt. πŸ”₯
  • --verbose β€” enables verbose output. it will yap. (affectionate) πŸ—£οΈ
  • --version β€” shows the version of this program. slay. ⭐

πŸ’€ RETURN CODES πŸ’€

lepton-refdes_renum returns these codes to the shell when it's done:

  • 0 β€” program ran successfully. we ate. πŸŽ‰
  • 1 β€” error opening or reading input file. 😭
  • 2 β€” error opening or writing output file. πŸ’€
  • 3 β€” too many components for the --pgskip setting. bestie there are SO many components. 😭
  • 4 β€” internal error (program bug encountered). not me catching a bug… πŸ™ˆ

🌈 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

πŸ‘‘ AUTHOR πŸ‘‘

Dan McMahill <danmcmahill@netbsd.org> β€” an icon, fr fr. 🫢


🧚 SEE ALSO 🧚

lepton-renum(1) β€” the sister page. go read her too. iykyk. πŸ’œ


Copyright Β© 2012-2017 gEDA Contributors. Copyright Β© 2021-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.

okay so important legal bestie moment: no warranty, k? like, to the extent permitted by law, there is NO WARRANTY. do not come for me. 😭

and that's the whole page!! this was lepton-refdes_renum(1) from Lepton EDA, version 1.9.18.20220529, dated May 29, 2022. mwah. go renumber ur refdeses, bestie πŸ’–βœ¨πŸŽ€πŸ¦‹