GOZILLA(1)
π GOZILLA(1) β the General Commands Manual β¨
okay bestie, welcome to gozilla, a whole General Commands Manual entry, and no it is not a monster movie, it is a tiny little command that makes your browser jump straight to the exact line of source code you asked for π¦
πΈ NAME πΈ
gozilla β force firefox to display specified part of a source file π
β¨ SYNOPSIS β¨
gozilla [-b browser][-p][+no] file
gozilla [-b browser][-p] -d name
π«Ά DESCRIPTION π«Ά
so basically gozilla forces firefox to display a specified part of a source file. like, it does not ask nicely, it just does it. and before you ask β yes, gozilla can be used with other browsers too, like chrome π
before you run this command, you gotta run gtags(1) and htags(1) at the root directory of the project to make tag files. that's the whole prerequisite, no cap. once that's done you can run this command anywhere in the project π
First form: you can specify a source file and an optional line number. this syntax is similar to vi(1) and emacs(1) β so if those are your girls, you already get it π
Second form: you can specify a definition name directly. that definition name needs to exist in Β΄GTAGSΒ΄. and heads up, this option requires Β΄HTML/MAPΒ΄ generated by htags(1) β no map, no service π
also, some browsers require you to load it before executing gozilla. so like, open the browser first, bestie. don't be weird about it.
π OPTIONS π
here's the whole lineup, the following options are available:
+noβ line number. that's it, that's the vibe.-b browserβ the browser to use. by default, it is assumedfirefox.-d nameβ print definitions.--helpβ show help. (iconic, everyone's favorite)-pβ just print a generated URL instead of displaying it. lowkey so useful for scripting.fileβ file name or alias name.-q,--quietβ quiet mode. shhh π€«-v,--verboseβ verbose mode. tell me EVERYTHING.--versionβ show version number.
π FILES π
the files it cares about, besties:
Β΄GTAGSΒ΄β tag file for definitions.Β΄HTML/Β΄β hypertext of source code.Β΄HTML/MAPΒ΄β mapping file for converting tag name into the path of tag list.Β΄gtags.confΒ΄,Β΄$HOME/.globalrcΒ΄β configuration data for GNU Global. seegtags.conf(5)for the deets.
π§ ENVIRONMENT π§
env vars, the way that they control everything:
BROWSERβ browser to use. by default, it is assumedfirefox. and if you want to load the default browser in OSX, you may set this variable toosx-default. very demure, very mindful πGTAGSDBPATHβ the directory in which the tag files exist. heads up though: this value is ignored whenGTAGSROOTis not defined. πGTAGSROOTβ the root directory of the project.
π₯ EXAMPLES π₯
a whole little group chat of examples, watch:
$ gtags
$ htags
$ global -x main
main 82 ctags.c main(argc, argv)
$ gozilla +82 ctags.c
$ gozilla -d main
$ gozilla -b lynx +82 ctags.c
see? gtags, then htags, then global to find the thing, then gozilla to yeet yourself right to it. and look at that last one β swapping the browser with -b lynx?? main character energy fr fr π
π DIAGNOSTICS π
Gozilla exits with a non-0 value if an error occurred, 0 otherwise. so 0 = we ate, non-0 = something's wrong bestie, check the vibes.
β SEE ALSO β
global(1), gtags(1), htags(1), epiphany(1), firefox(1), gtags.conf(5).
GNU Global source code tag system (http://www.gnu.org/software/global/).
π AUTHORS π
Shigio YAMAGUCHI. we stan. π
π HISTORY π
The gozilla command appeared in FreeBSD 2.2.2 but was not installed by default. so it was there, just lurking. mysterious. iconic. periodt β¨
okay that's the whole page, and just so you have the receipts: this was the GNU Project's version, dated March 2010, from the GOZILLA(1) manual. go forth and jump to line numbers, bestie π
π¦π
π¦ where this page comes from
- arch rolling: global 6.7-1 Β· BSD-3-Clause AND GPL-2.0-only AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LicenseRef-CALDERA AND LicenseRef-PD AND MIT
- debian bookworm: global 6.6.9-1
- debian trixie: global 6.6.13-1
- epel 10: global 6.6.15-1.el10_3 Β· GPL-3.0-or-later and LGPL-2.0-or-later and LGPL-2.1-or-later and BSD-3-Clause and MIT and LicenseRef-Fedora-Public-Domain and blessing and GFDL-1.2-or-later
- fedora 43: global 6.6.15-1.fc43 Β· GPL-3.0-or-later and LGPL-2.0-or-later and LGPL-2.1-or-later and BSD-3-Clause and MIT and LicenseRef-Fedora-Public-Domain and blessing and GFDL-1.2-or-later
- fedora 44: global 6.6.14-1.fc44 Β· GPL-3.0-or-later and LGPL-2.0-or-later and LGPL-2.1-or-later and BSD-3-Clause and MIT and LicenseRef-Fedora-Public-Domain and blessing and GFDL-1.2-or-later
- fedora 44: global 6.6.15-1.fc44
- fedora 44: global 6.7-1.fc44 Β· GPL-3.0-or-later and LGPL-2.0-or-later and LGPL-2.1-or-later and BSD-3-Clause and MIT and LicenseRef-Fedora-Public-Domain and blessing and GFDL-1.2-or-later
- nixos 26.05: global 6.6.14
- nixpkgs unstable: global 6.6.14
- opensuse-leap 16.0: global 6.6.13-bp160.1.13 Β· GPL-3.0-only
- opensuse-leap 16.0: global 6.6.13-bp160.1.13 Β· GPL-3.0-only
- opensuse-leap 16.0: global 6.6.13-bp160.1.13 Β· GPL-3.0-only
- opensuse-leap 16.0: global 6.6.13-bp160.1.13 Β· GPL-3.0-only
- ubuntu jammy: global 6.6.7-1
- ubuntu noble: global 6.6.11-1
- ubuntu questing: global 6.6.14-1.1
- ubuntu resolute: global 6.6.14-1.1build1
- ubuntu stonking: global 6.6.14-1.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms