NCARGRUN(1NCARG)

πŸ’– NCARGRUN πŸ’–

okay bestie, so this is ncargrun, and it lives in the NCAR GRAPHICS manual, section 1NCARG. it's a lil script β€” not even a big dramatic binary β€” and its whole job is to run your program and redirect where the metafile output goes. lowkey iconic. ✨


🌸 NAME 🌸

ncargrun β€” to run a user program and redirect the metafile output


πŸŽ€ SYNOPSIS πŸŽ€

ncargrun program-name [-t] [-o metafile-name]

πŸ¦‹ DESCRIPTION πŸ¦‹

so ncargrun is a script that invokes program-name, which uses the NCAR GKS library, and then applies whatever options you gave it. that's the whole vibe. πŸ’…

and the way it works is: before it runs your program, the script sets the environment variables NCARG_GKS_OUTPUT, NCARG_GKS_PSOUTPUT, and NCARG_GKS_PDFOUTPUT so you get the effect you asked for. it's giving backstage crew, fr fr β€” you don't see it, but nothing happens without it. 🫢


✨ OPTIONS ✨

  • -o filename β€” tells it the name of the output metafile or PostScript file. BUT. plot twist: if you swap filename out for "| translator-name", the effect is that the metafile gets piped to the named translator instead. pipe dreams, but make it real. 🌈
  • -t β€” says metafile output should be piped to the default translator ctrans. that's it, that's the option. no cap. πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

  • ncarg_gks(1NCARG)
  • ncarg_env(5NCARG)
  • ncargintro(5NCARG)

go read those too, bestie, they're part of the lore. πŸ“š


Copyright (C) 1987-2002
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
okay so real talk β€” the use of this Software is governed by a License Agreement. that's not a vibe, that's a fact, so respect it. πŸ’€

and that's the whole page, gorgeous. this one came out of the NCAR crew and it's dated JUNE 1988 β€” yes, before you were born, and it still ate. stay slay, run your programs, redirect your metafiles. mwah. πŸ’–πŸŽ€πŸ¦‹