GRI_MERGE(1)
β¨ GRI_MERGE(1) β the "put all ur Gri plots on one page" era β¨
okay so bestie, real talk: gri_merge is a command in the General Commands Manual family, and its whole entire job is merging a bunch of Gri output files into ONE single PostScript file. that's it. that's the vibe. π
π NAME π
gri_merge β merge multiple Gri output files into a single PostScript file. no cap, that's literally the whole thing. β¨
πΈ USAGE (style 1) πΈ
gri_merge [OPTIONS] CxR a.ps b.ps ... > merged_file.ps
so the way this one works is: you merge all the files onto one page, laid out in 'C' columns and 'R' rows π. the CxR files get listed in the order of words on a page β like, reading order, left to right, top to bottom, you know the drill.
the page is presumed to be 8.5x11in in size (as are all the input files), and the input files are sized to fit and kept in natural scale. so no weird squishing. we don't do that here. π
π¦ USAGE (style 2) π¦
gri_merge [OPTIONS] xcm ycm enlarge a.ps [b.ps ...] > merged_file.ps
in this flavour, enlarge is a scale factor that gets applied after offsetting xcm to the right and ycm upward. order matters, bestie, don't @ me. π
π EXAMPLE (style 2) π
the following:
gri_merge 2 12 .5 a.ps \
12 12 .5 b.ps \
2 2 .5 c.ps \
12 2 .5 d.ps > all.ps
produces 4 panels from gri plots done using margins and sizes as specified in the following lines in a gri commandfile:
set x margin 2
set x size 15
set y margin 2
set y size 15
four panels, one file, absolute main character energy πβ¨
π OPTIONS π
heads up bestie: these are available if yourperlhas thegetoptslibrary. no getopts, no options, iykyk. π
-u graylevelβ sets the graylevel for the underlay beneath the panels. default is0.75. values range from0(black) to1(white) β BUT, plot twist, a value of precisely1means do NOT draw the underlay. iconic. π-b graylevelβ sets the value for the background under individual panels. again,0for black to1for white, with1meaning no drawing. π¨-hβ prints this help message and quits. the classic "wait what does this do again" button. π«Ά
π SEE ALSO π
go read those too, bestie, they're the whole ecosystem. π§
and that's the page!! this one comes from the gri_merge manual, dated 2009, sitting pretty in GRI_MERGE(1) (General Commands Manual, obviously π ). mwah, go merge something gorgeous. β¨ππ
π¦ where this page comes from
- debian bookworm: gri 2.12.27-1.1
- debian trixie: gri 2.12.27-1.2+b1
- ubuntu noble: gri 2.12.27-1.1build2
- ubuntu questing: gri 2.12.27-1.2build1
- ubuntu resolute: gri 2.12.27-1.2build2
- ubuntu stonking: gri 2.12.27-1.2build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms