-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
There is a slight behavioural discrepancy between the stats and frequency commands.
For stats, if I do not specify an --output parameter, a <basename>.stats.csv file is automatically created, and the results are also sent to stdout
For frequency, I must provide a --output parameter along with a filename to produce a CSV file, and the results in that case are not sent to stdout
This could be reconciled as follows:
- if no
--outputparameter is specified, the results are only sent to stdout - if
--outputis specified without a filename, a CSV file is created as<basename>.stats.csvor<basename>.freqs.csv - If
--outputis specified with a filename, it is used to save the CSV file (current behaviour) - When
--outputis specified, results are not sent to stdout
Note that this could introduce a breaking change for current users or existing workflows that expect' stats' to produce a CSV file without the --output parameter.
jqnatividad
Metadata
Metadata
Assignees
Labels
No labels