tablefromascii(1)

πŸ’– tablefromascii(1) πŸ’–

okay bestie, gather round, because we're about to talk about tablefromascii from the casacore General Commands Manual and honestly? it's giving glow up for your plain text data. ✨


🌸 NAME 🌸

tablefromascii β€” convert an ASCII file to a table πŸ¦‹

like. it takes your boring little text file and makes it a whole TABLE. main character transformation fr.


✨ SYNOPSIS ✨

tablefromascii input [ ... ]

πŸŽ€ DESCRIPTION πŸŽ€

so this program converts an ASCII table into a table. yes we said table twice, that's the bit. πŸ’…

the one thing you gotta know: it can only handle scalar columns. no fancy nested business, just scalars, periodt. πŸ™ˆ

and the separator between the fields in your ASCII file? you can specify it yourself. your file, your rules, iykyk. ✨


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per flag, no skipping, we're being thorough because that's the vibe:

  • -in [string] β€” the input ASCII file. yes, the one you're converting. πŸ“
  • -out [string] β€” the name of the output table. name it something cute. πŸ‘‘
  • -headerfile [string] β€” name of an optional file that contains the headers. optional bestie, no pressure. πŸŽ€
  • -autoheader [T|F] β€” determine the header automatically? (T or F; default: F). lowkey it won't do it unless you say so. 🌸
  • -autoshape [string] β€” the shape, if all the columns are treated as one array. one big array energy. 🌈
  • -columnnames [string] β€” comma separated names of the columns. commas, bestie, not vibes. πŸ’…
  • -datatypes [string] β€” comma separated data types of the columns. tell it what each one is. ⭐
  • -sep [string] β€” one character separator between values. one. single. solitary. 🧚
  • -commentmarker [string] β€” a regex indicating comments. yes a regex, we're fancy like that. πŸ”₯
  • -firstline [int] β€” first line to process (default: 1). start at the top, classic. πŸ¦‹
  • -lastline [int] β€” last line to process; a value <0 means it goes till the end (default: -1). so the default is literally "do the whole thing". πŸ’–

πŸ’œ AUTHOR πŸ’œ

this manual page was written by Ole Streicher, with information taken from the source code. iconic behaviour honestly. 🫢


okay and for the cute little sign-off moment: this page is from casacore, dated 2016-11-24, and it's tablefromascii(1). slay, go convert something. πŸ’…βœ¨