PVAL(1)

πŸ“¦ version 1.3.1, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– PVAL β€” bestie edition πŸ’–

okay so this is the manual page for pval (that's section 1 of the General Commands Manual, for the record) and honestly? she's a little icon. let's get into it πŸ’…


✨ NAME ✨

pval β€” print BER values in ASN.1 value notation 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

pval -T <tt file name> [-m <module name>] -n <type name>
             <BER value file list>

like… that's the whole vibe. type table, maybe a module, definitely a type name, and then a whole little list of BER files. slay.


πŸ’œ DESCRIPTION πŸ’œ

so what does pval actually do, you ask? she prints the given BER values in their value notation. that's it, that's the job, and she eats every time πŸ”₯

but bestie, listen β€” you must tell her the type name. no type name, no service. and optionally you can also hand her the module name of the type living inside those BER files you're feeding her. that part's up to you, but the type name? mandatory. non-negotiable. periodt πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • -T file β€” use the type table in file to go look for the named type's definition. this is where she goes snooping for your types, so pick a good one πŸ‘‘
  • -m modulename β€” tells her which module the named type is defined in. and here's the tea: if you don't pass this option, pval will go hunting for the first occurence of the named type across all the modules in the type table you gave her. first come, first served, no cap 🫢
  • -n typename β€” specifies the type of the values sitting in your BER files. and bestie… if you give the wrong type name, decoding errors will occur. like, not maybe. they will. this is your warning, take it seriously 😭

🌈 FILES 🌈

  • snacc/tbl-tools/pval/ β€” the source code for the pval program, right there, in the flesh ✨

🧚 COPYING 🧚

Copyright (c) 1993 Mike Sample and the University of British Columbia

Permission is granted to make and distribute verbatim copies of this manual, provided that the copyright notice and this permission notice are preserved on all copies. 🫢

Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. πŸ’œ

no gatekeeping, but also no erasing the receipts. keep the notices, bestie.

πŸ‘‘ AUTHOR πŸ‘‘

Mike Sample <msample@cs.ubc.ca>, University of British Columbia β€” we love a legend πŸ’–


⭐ ACKNOWLEDGEMENTS ⭐

this whole work was made possible by grants from the Canadian Institute for Telecommunications Research (CITR) and the Natural Sciences and Engineering Research Council of Canada (NSERC). funding girlies, we appreciate you πŸ™βœ¨


and that's the page!! πŸ“… this little manual is dated 11 July 1993, and it lives in pval(1) territory β€” which, yes, means it predates most of us, and yet she's still serving. iconic behavior, fr fr πŸ’…πŸŽ€

πŸ“¦ where this page comes from