psplit(1NCARG)
β¨ NAME β¨
psplit β bestie, it's a tool for splitting PostScript files with multiple frames into individual PostScript files, or literally just counting how many pages are in a file π
π¦ SYNOPSIS π¦
usage: psplit [-c] input_file [output_file_root]
π DESCRIPTION π
okay so psplit takes a PostScript file as input β and yeah, that file can totally have multiple pictures in it β and splits it into individual PostScript files that each have a single frame. one pic per file. clean. β¨
here's the tea on %%BoundingBox tho π If the original file has a %%BoundingBox comment in it, then that comment gets inserted into each output file, and the output files will be EPS (encapsulated PostScript) conforming. slay. But if the original file does not have a %%BoundingBox comment, then the output files won't have one either π and in that case, if you want your output files to be EPS files, use the ps2epsi utility that is based on GhostScript. periodt.
If the -c option is present, then only the number of pages in input_file is reported. that's it. that's the whole vibe check π«Ά
psplit is primarily intended to be used with PostScript files that have been produced directly by NCAR Graphics, or produced from NCAR Graphics by running ctrans with a PostScript graphcap. iykyk π
However, psplit will also work on most PostScript files adhering to PostScript Document Structuring Conventions (DSC). so like, it's flexible, it ate. π₯
By default the output files are named in sequence as pict0001.ps, pict0002.ps, and so forth. so cute, so organized π If you want to specify a different root name for the output files (i.e. a name different from pict), you can specify that by entering the optional second argument. main character energy, you get to name them whatever you want π
π COPYRIGHT π
Copyright (C) 2000 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
fr fr that's the whole page, no cap π
UNIX Β· August 2001 Β· psplit(1NCARG) β mwah, go split some frames bestie π πΈ
π¦ where this page comes from
- debian bookworm: ncl-ncarg 6.6.2.dfsg.1-1
- debian trixie: ncl-ncarg 6.6.2.dfsg.1-10+b2
- ubuntu jammy: ncl-ncarg 6.6.2-10build2
- ubuntu questing: ncl-ncarg 6.6.2.dfsg.1-10build2
- ubuntu resolute: ncl-ncarg 6.6.2.dfsg.1-12
- ubuntu stonking: ncl-ncarg 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms