.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "VNL-ALIGN 1" .TH VNL-ALIGN 1 2024-02-04 "" vnlog .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME vnl\-align \- aligns vnlog columns for easy interpretation by humans .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& $ cat tst.vnl \& \& # w x y z \& \-10 40 asdf \- \& \-20 50 \- 0.300000 \& \-30 10 whoa 0.500000 \& \& \& $ vnl\-align tst.vnl \& \& # w x y z \& \-10 40 asdf \- \& \-20 50 \- 0.300000 \& \-30 10 whoa 0.500000 .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" The basic usage is .PP .Vb 1 \& vnl\-align logfile .Ve .PP The arguments are assumed to be the vnlog files. If no arguments are given, the input comes from STDIN. .PP This is very similar to \f(CW\*(C`column \-t\*(C'\fR, but handles \f(CW\*(C`#\*(C'\fR lines properly: .PP 1. The first \f(CW\*(C`#\*(C'\fR line is the legend. For the purposes of alignment, the leading \f(CW\*(C`#\*(C'\fR character and the first column label are treated as one column .PP 2. All other \f(CW\*(C`#\*(C'\fR lines are output verbatim. .SH REPOSITORY .IX Header "REPOSITORY" https://github.com/dkogan/vnlog/ .SH AUTHOR .IX Header "AUTHOR" Dima Kogan \f(CW\*(C`\*(C'\fR .SH "LICENSE AND COPYRIGHT" .IX Header "LICENSE AND COPYRIGHT" Copyright 2016 California Institute of Technology. Copyright 2018 Dima Kogan \f(CW\*(C`\*(C'\fR .PP This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.