PSSELECT(1)
π NAME π
psselect β it picks pages out of a PostScript file, bestie. That's the whole vibe.
β¨ SYNOPSIS β¨
psselect [-q] [-e|-o] [-r] [[-p]pages] [infile [outfile]]
π¦ DESCRIPTION π¦
Okay so psselect selects pages from a PostScript document and makes you a brand new PostScript file out of them. Lowkey magical. The input PostScript file should follow the Adobe Document Structuring Conventions β that's the ruleset, and it matters, okay? It's giving "read the room."
Here's the whole roster of options, no gatekeeping:
-eβ selects all of the even pages. And yes, you can use it together with the other page selection options to select the even pages from a range of pages. Combo move.-oβ selects all of the odd pages. It may be used in conjunction with the other page selection options too. Slay.-ppagesβ specifies which pages get selected.pagesis a comma separated list of page ranges, and each one of those may be a page number, or a page range shaped likefirst-last. Iffirstis omitted, the first page is assumed, and iflastis omitted, the last page is assumed. It just fills in the blanks for you, so thoughtful.-rβ makespsselectoutput the selected pages in reverse order. Backwards, but make it fashion.-qβpsselectnormally prints the page numbers of the pages rearranged, and this suppresses that. Quiet mode, main character energy, no commentary.
Also there's the prefix character _ β it means the page number is relative to the end of the document, counting backwards. And if you use just that character with no page number at all, a blank page will be inserted. Not a typo, that's literally what it does.
π¨ Real talk, bestie: if any of the-r,-e, or-ooptions are specified, the page range must be given with the-poption. This is for backwards compatibility with previous versions. Don't fight it, just pass-p.
π NOTES π
The page number you hand to psselect is the number of the page counting from the start or end of the file, starting at one. The actual page number in the document may be different, so don't come for me if the numbers don't match. π
π AUTHOR π
Written by Angus J. C. Duggan. Legend behaviour.
π SEE ALSO π
psutils(1)β go read that one next, fr fr.
π TRADEMARKS π
PostScript is a trademark of Adobe Systems Incorporated. Respect the brand, iykyk.
π BUGS π
Psselect does not accept all DSC comments. That's it, that's the bug. Not me being dramatic, it's just the truth.
That's the whole page, bestie β brought to you by the PSUtils girlies and their PSSELECT(1) manual page. Go select some pages. Periodt. πβ¨π«Ά
π¦ where this page comes from
- fedora 43: texlive-psutils 11:svn61719-93.fc43 Β· psutils
- fedora 43: texlive-psutils 11:svn61719-95.fc43.1 Β· psutils
- fedora 44: texlive-psutils 12:svn61719-105.fc44 Β· psutils
- fedora 44: texlive-psutils 12:svn61719-111.fc44 Β· psutils
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms