VG(1)
π 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 πΈπ
π¦ where this page comes from
- debian bookworm: cgvg 1.6.2-4 Β· GPL-2.0-or-later
- debian trixie: cgvg 1.6.3-1 Β· GPL-2.0-or-later
- ubuntu jammy: cgvg 1.6.2-4 Β· GPL-2.0-or-later
- ubuntu noble: cgvg 1.6.2-4 Β· GPL-2.0-or-later
- ubuntu questing: cgvg 1.6.3-1
- ubuntu resolute: cgvg 1.6.3-2 Β· GPL-2.0-or-later
- ubuntu stonking: cgvg 1.6.3-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms