Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C csvkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wireservice
  • csvkit
  • Issues
  • #833
Closed
Open
Issue created May 14, 2017 by Administrator@rootContributor

in2csv: -I and -H interfere

Created by: sfischer13

echo "A,B,C\nTrue,2,3" | in2csv -f csv -I | csvlook

|    A | B | C |
| ---- | - | - |
| True | 2 | 3 |

echo "A,B,C\nTrue,2,3" | in2csv -f csv -H | csvlook

| a    | b | c |
| ---- | - | - |
| A    | B | C |
| True | 2 | 3 |

echo "A,B,C\nTrue,2,3" | in2csv -f csv -I -H | csvlook

|    A | B | C |
| ---- | - | - |
| True | 2 | 3 |

The last output seems wrong to me. I expected default column names as in the second example.

Assignee
Assign to
Time tracking