teuben / nemo

a Stellar Dynamics Toolbox (Not Everybody Must Observe)
https://astronemo.readthedocs.io
GNU General Public License v2.0
58 stars 43 forks source link

starlab dyn files via dumbp cannot be converted with tabtos #109

Open teuben opened 1 year ago

teuben commented 1 year ago

currently "man 5 data" gives an example

       dumbp < $NEMO/data/starlab/cube10.dyn  > cube10.col
        tabcomment cube10.col delete=t |        tabtos -  cube10.dat block1=skip,mass,pos,vel times=0

which does not work. Also tabtos options=comment does not work. Of course "grep -v ^;" will work, but a pure nemo pipe should be made to work.

teuben commented 1 year ago

Better example is;

 dumbp < $NEMO/data/starlab/cube10.dyn | tabcols - > cube10.col
tabtos cube10.col  cube10.dat block1=mass,pos,vel times=0

this avoid shortcomings in both tabcomment and tabtos (which should be fixed)