Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Add -X / --no-types option to all tools. #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion doc/csv-add-concat.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -30,6 +30,9 @@ a new column produced by concatenation of columns and fixed strings.
-T, \--table=*NAME*
: apply to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-add-exec.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -37,6 +37,9 @@ standard input is fed with input column.
-T, \--table=*NAME*
: apply to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-add-replace.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -55,6 +55,9 @@ expression
-T, \--table=*NAME*
: apply to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-add-rev.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -36,6 +36,9 @@ a new column produced by reversing another column characterwise.
-T, \--table=*NAME*
: apply the filter to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-add-rpn.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -37,6 +37,9 @@ as a separator, so this needs to be quoted
-T, \--table=*NAME*
: apply to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-add-split.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -46,6 +46,9 @@ than 1 separator and *no* if there's only one), defaults to *auto*
-T, \--table=*NAME*
: apply to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-add-sql.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -37,6 +37,9 @@ as a separator, so this needs to be quoted
-T, \--table=*NAME*
: apply to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-add-substring.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -43,6 +43,9 @@ value mean starting from the end of string
-T, \--table=*NAME*
: apply to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-avg.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -36,6 +36,9 @@ of chosen columns.
-T, \--table=*NAME*
: apply to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-cat.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2019-2020, Marcin Ślusarz <[email protected]>
Copyright 2019-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -31,6 +31,9 @@ input file.
-S, \--show-full
: print output in table format with pager

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-count.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -33,6 +33,9 @@ the number of columns or rows.
-S, \--show-full
: print output in table format with pager

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-cut.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -36,6 +36,9 @@ resulting file to standard output.
-T, \--table=*NAME*
: apply the filter to columns only with "NAME." prefix

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-diff.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -45,6 +45,9 @@ a superset of the first file or the list specified by \--columns option.
\--all-rows
: show all rows

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-env.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -38,6 +38,9 @@ Print to standard output the list of environment variables in the CSV format.
-T, \--as-table
: produce output as table *env*

-X, \--no-types
: disable printing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-exec.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand All @@ -20,6 +20,9 @@ csv-exec - execute an external command for each row

Read CSV stream from standard input and execute an external command for each row.

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-grep-rpn.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -36,6 +36,9 @@ a separator, so this needs to be quoted
-T, \--table=*NAME*
: apply the filter to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-grep-sql.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -36,6 +36,9 @@ a separator, so this needs to be quoted
-T, \--table=*NAME*
: apply the filter to rows only with _table column equal *NAME*

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-grep.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -52,6 +52,9 @@ to standard output only rows matching that pattern.
: the pattern used by -e, -E or -F options must match exactly (no preceding
or succeeding characters before/after pattern)

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-group-members.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -39,6 +39,9 @@ in the CSV format.
-T, \--as-table
: produce output as table *group_member*

-X, \--no-types
: disable printing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-groups.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -41,6 +41,9 @@ Print to standard output the list of system groups in the CSV format.
-T, \--as-table
: produce output as table *group*

-X, \--no-types
: disable printing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-head.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2019-2020, Marcin Ślusarz <[email protected]>
Copyright 2019-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -29,6 +29,9 @@ Print the first 10 rows of CSV file from standard input to standard output.
-S, \--show-full
: print output in table format with pager

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
5 changes: 4 additions & 1 deletion doc/csv-header.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-License-Identifier: BSD-3-Clause
Copyright 2020-2021, Marcin Ślusarz <[email protected]>
Copyright 2020-2023, Marcin Ślusarz <[email protected]>
-->

---
Expand Down Expand Up @@ -45,6 +45,9 @@ the column header transformed.
-S, \--show-full
: print output in table format with pager

-X, \--no-types
: disable parsing of type names in column names

\--help
: display this help and exit

Expand Down
Loading