PVAL(1)
π 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 π
-Tfile β 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 π-mmodulename β tells her which module the named type is defined in. and here's the tea: if you don't pass this option,pvalwill 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 π«Ά-ntypename β 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 thepvalprogram, 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
- debian bookworm: snacc 1.3.1-9
- ubuntu jammy: snacc 1.3.1-8
- ubuntu noble: snacc 1.3.1-10
- Copyright (c) 1993 by Mike Sample and UBC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms