starpkg(1)
π« starpkg β a manual page, but make it cute π«
okay bestie, so this is starpkg, from the General Commands Manual section, and she's here to convert a StarPlot data set into StarPlot file format. literally that's her whole job. let's go π
β¨ NAME β¨
starpkg β convert a StarPlot data set to StarPlot file format
π¦ SYNOPSIS π¦
starpkg [ --dataset ] data-set [ --dest destination ]
starpkg --recurse input-dir [ --dest destination ]
πΈ DESCRIPTION πΈ
so on the StarPlot web site there are these little packages of data, right? and each one has both an original data file from NASA and a specification file. we call these lil bundles "data sets", and starconvert(1) can turn them into a data file in StarPlot format. but for ease of use, bestie, you should really do it through the starpkg shell script. it's giving convenience. it's giving wrapper. π
π§ USAGE π§
okay so assuming that data-set is a valid StarPlot data set β and that means either a tar.gz format file or a directory that came from uncompressing that tar.gz β then the command
starpkg --dataset
converts it into a StarPlot-formatted data file. π«Ά
not me pointing out that the --dataset flag is optional β you can literally just pass the name of the input data set without it. iconic behaviour.
now, for something to count as a valid StarPlot data set, a directory or tar.gz file must contain at least:
- a valid specification file whose name ends with
.spec, and - a flat text data file named
catalog.dat.
that's it. that's the bar. π
if the --dest option is omitted, the default location of the output file is the first of these directories in which the user has write permissions:
/usr/share/starplot$PWD$HOME
and if --dest is omitted or destination is a directory, the name of the output file will by default be ${specfilename%.spec}.stars.
for instance, a data set containing gliese.3.spec will produce a file named gliese.3.stars. slay. β¨
the starpkg --recurse form of the command runs all of the above for every StarPlot data set contained in input-dir, and drops the resulting StarPlot data files into the directory destination. (and if the --dest option is omitted, the default destination directory is chosen exactly like we said above, bestie.)
this form of thestarpkgcommand is most useful when a new version of StarPlot has been installed and you wish to regenerate all StarPlot data files from data sets using the newstarconvertprogram. spring cleaning but for astronomy data. π
π OPTIONS π
--dataset,-sβ specify a directory ortar.gzfile to use as a StarPlot data set.--dest,-dβ specify the file or directory in which to output StarPlot-format data files.--quiet,-qβ print only fatal errors to the terminal. she's silent, she's mysterious, she's not telling you anything unless it's dire. π--recurse,-rβ specify a directory in which to search for StarPlot data sets.--starconvert-optionoption β pass option through tostarconvert. if you wish to pass more than one option (or an option that takes a following argument), you should give this flag multiple times, once for eachstarconvertoption or argument. yes really, one flag per option. no grouping. it's giving tedious but it's giving correct. π--verbose,-vβ print allstarconvertoutput to the terminal. main character energy, nothing hidden. π
π SEE ALSO π
π AUTHOR π
Copyright Β© 2000-2002 under the GNU GPL by Kevin B. McCarty <starplot@starplot.org>. The StarPlot web page is at www.starplot.org. π
okay and that's the whole page, bestie β written back in Nov 2002, filed under starpkg(1), and honestly? still iconic. go convert something. bye πβ¨π¦
π¦ where this page comes from
- debian bookworm: starplot 0.95.5-8.3+b1
- fedora 43: starplot 0.95.5-42.fc43 Β· GPL-2.0-or-later
- fedora 44: starplot 0.95.5-43.fc44 Β· GPL-2.0-or-later
- ubuntu jammy: starplot 0.95.5-8.3build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms