dirfile2ascii(1)
π dirfile2ascii β the GETDATA girlies' fave lil converter π
okay bestie, welcome to the dirfile2ascii(1) page, part of the GETDATA manual. she's the one who takes your dirfile database vectors and turns them into plain ASCII text so you can actually look at them. no cap, she's iconic.
β¨ NAME β¨
dirfile2ascii β output dirfile database vectors as ASCII text
πΈ SYNOPSIS πΈ
dirfile2ascii [ OPTION ]... DIRFILE [ [ -a | -A | -e | -E | -F | -g | -G
| -o | -i | -u | -x | -X ] FIELD ]...
π¦ DESCRIPTION π¦
So the vibe is: she fetches data from a dirfile(5) database β that's the one you name as DIRFILE β and writes it out as ASCII to standard output. β¨ You can throw any number of vector FIELDs at her. Each field you specify gets printed in its own separate column. Slay.
Mandatory arguments to long options are mandatory for short options too. (yes queen, that's just how it is.)
π the options π
-d,--delimeter=delimβ separate columns bydelim. (Default: a single space.) yes, it's spelleddelimeter. we don't make the rules. π-f,--first-frame=first_frame-last_frameβ read from framefirst_frameto framelast_frame, and yes, that range is inclusive.-f,--first-frame=first_frame:nframesβ this is literally just shorthand, equivalent to--first-frame=first_frame --num-frames=nframes.-f,--first-frame=first_frameβ iffirst_frame >= 0, start reading at framefirst_frame. Iffirst_frameis-1and you also said--num-frames=nframes, she reads the lastnframesframes. And if you don't specify--first-frameat all? reading starts at frame zero, no drama.-n,--num-frames=nframesβ read at mostnframesframes. If you don't specify it, or ifnframes = 0, she reads all frames to the end-of-field. all of them. go off. π₯-p,--precision=formatβ useformatto format the output.formatmay contain any of the flag characters, a field width, and/or a precision as specified inprintf(3). It may not contain a length modifier. (rude, but okay.)-q,--quietβ don't write diagnostic messages on standard error. (This is the default behaviour.) so it's the chill, no-commentary mode, which is already the vibe by default.-s,--skip=frame_skipβ ifframe_skip > 0, output only one sample for everyframe_skipframes.-v,--verboseβ write diagnostic messages on standard error. she's gonna talk. π£οΈ-z,--fill=STRINGβ Fill columns which go past the end of their corresponding field with the stringSTRING. The default behaviour is to fill columns with floating-point conversions withNaNand columns with integer conversion with0, which mirrors what occurs when an attempt is made to print data from before the start of a field. (Note: the default behaviour cannot be reproduced with this option, sinceSTRINGis applied to all columns, regardless of conversion type.) okay so heads up, that note is real and you can't fake the default with this flag. periodt.
π the field conversions π
In addition to all of the above, each FIELD argument may be preceded by a short option, one of: -a, -A, -e, -E, -F, -g, -G, -i, -o, -u, -x, -X, indicating the conversion to be used. See printf(3) for the meaning of these conversion specifiers. The output flags, width, and precision may be specified by using --precision. If no conversion specifier is given, %f is used. (default queen behaviour.)
and now the read-type tea, listen closely:
- For conversion specifiers
%a,%A,%e,%E,%f,%F,%g,%G, data is read from the dirfile as double precision floats. - For conversion specifier
%i, data is read as 64-bit signed integers. - For conversion specifiers
%o,%u,%x,%X, data is read as 64-bit unsigned integers.
π LIMITATIONS π
No native support for printing complex data is provided. π She does not do complex, she does not know her. This may be worked around by using dirfile(5) representation suffixes. For example, the command
dirfile2ascii DIRFILE FIELD.r FIELD.i
will print the real and imaginary parts of the complex valued field FIELD in the first and second columns, respectively. see? workaround ate. π
π AUTHOR π
dirfile2ascii was written by Matthew Truch and D. V. Wiebe.
π REPORTING BUGS π
Please send reports of bugs to getdata-devel@lists.sourceforge.net
The GetData home page: <http://getdata.sourceforge.net/>
π COPYRIGHT π
Copyright Β© 2010 Matthew Truch.
dirfile2ascii is licenced under the GNU LPGL version 2.1 or later.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
fr fr, no warranty. she's free and she's yours to remix, but she comes as-is. π
π SEE ALSO π
defile(1), dirfile(5), printf(3)
okay that's the whole page bestie, you're basically a dirfile2ascii expert now π«Ά this was Version 0.8.0, dated 21 February 2012, and that's the whole dirfile2ascii(1) situation. mwah. πβ¨
π¦ where this page comes from
- debian bookworm: libgetdata-tools 0.11.0-6
- debian trixie: libgetdata-tools 0.11.0-15+b1
- fedora 43: getdata 0.11.0-13.fc43 Β· GPL-2.0-or-later
- fedora 43: getdata 0.11.0-13.fc43 Β· GPL-2.0-or-later
- fedora 44: getdata 0.11.0-14.fc44 Β· GPL-2.0-or-later
- fedora 44: getdata 0.11.0-14.fc44 Β· GPL-2.0-or-later
- nixos 26.05: getdata 0.11.0
- nixpkgs unstable: getdata 0.11.0
- ubuntu jammy: libgetdata-tools 0.11.0-3ubuntu1
- ubuntu noble: libgetdata-tools 0.11.0-13
- ubuntu questing: libgetdata-tools 0.11.0-15
- ubuntu resolute: libgetdata-tools 0.11.0-17build1
- ubuntu stonking: libgetdata-tools 0.11.0-17build2
- Copyright (C) 2010, 2012 D. V. Wiebe
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms