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 (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 πŸ’…πŸŒΈ