Thanks to visit codestin.com
Credit goes to github.com

Skip to content

csvtk pretty does not support column range syntax  #244

@MostafaYA

Description

@MostafaYA

Prerequisites

  • make sure you're are using the latest version by csvtk version
  • read the usage

Describe your issue

  • describe the problem
  • provide a reproducible example

Hi, csvtk pretty seems not to support the column range syntax

This works!

$ echo -e "oneoneone,twotwotwo\na1,a2\n,b2\na2,"     | csvtk pretty -W 50  -m 1,2,3
oneoneone   twotwotwo
---------   ---------
   a1          a2    
               b2    
   a2       

This doesnot work

$ echo -e "oneoneone,twotwotwo\na1,a2\n,b2\na2,"     | csvtk pretty -W 50  -m 1-
oneoneone   twotwotwo
---------   ---------
a1          a2       
            b2       
a2                   

Thank you

I'm grateful to users who have greatly helped to report bugs and suggested new features.

I may respond to issues or fix bugs quickly, but I usually implement new features periodically (two or more weeks).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions