VG(1)

πŸ“¦
version 1.6.3 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… VG(1) β€” the manual page, but make it make sense

okay so bestie, welcome to VG(1), the companion script to cg(1) β€” and before you ask, yes, the manual name is right there in the title, we're being efficient today πŸŽ€


✨ NAME ✨

vg β€” edit an entry found by the cg script. that's it. that's the whole vibe.


🌸 SYNOPSIS 🌸

vg [ -l ] number

πŸ’– DESCRIPTION πŸ’–

So vg is the companion script to cg(1), and its whole personality is: it fires off an editor so you can edit an entry that cg(1) already found for you. literally just the "ok now go fix it" button πŸ”₯

This script runs with only one argument, and that argument has to be an integer within range of the output of cg(1) β€” like, the number you see in the far left column. For example: vg 0. iconic. no notes. 🫢

And if you run it with the -l option? Then it edits using the log from the last search instead. slay.


πŸ‘‘ COMMAND-LINE OPTIONS πŸ‘‘

  • -l β€” edits from the last search rather than from this terminal. (yes that's the only one, she's lowkey minimalist πŸ’…)

πŸ¦‹ FILES πŸ¦‹

  • ${HOME}/.cglast β€” log file of the last search. this is the receipts folder, basically.
  • ${HOME}/.cgvgrc β€” per-user configuration file, for when the defaults are simply not serving πŸŽ€

🌈 SEE ALSO 🌈

cg(1), perl(1), cscope(1) β€” go read those too, iykyk ✨


πŸ’œ AUTHOR πŸ’œ

vg was written by Joshua Uziel <uzi@uzix.org>. thank you for your service king πŸ‘‘


ngl there's no wild bugs or scary warnings in here, but do remember the whole "one argument, integer, from the far left column of cg(1) output" thing β€” that's the rule, fr fr πŸ’€

okay that's the whole page!! stay hydrated, keep your dotfiles cute, and go edit that entry bestie πŸ’–πŸ¦‹βœ¨

VG(1) β€” dated 13 Mar 2002 β€” and that's a wrap, mwah 🌸πŸ’