Skip to content

Commit

Permalink
v0.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Mar 19, 2024
1 parent 8850153 commit 0cc7fe0
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 69 deletions.
99 changes: 70 additions & 29 deletions download/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -621,36 +621,45 @@ <h1 id="download">Download</h1>
in <a href="https://github.com/shenwei356/csvtk/releases">release</a> page.</p>
<h2 id="current-version">Current Version</h2>
<ul>
<li><a href="https://github.com/shenwei356/csvtk/releases/tag/v0.29.0">csvtk v0.29.0</a>
<a href="https://github.com/shenwei356/csvtk/releases/tag/v0.29.0"><img alt="Github Releases (by Release)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/v0.29.0/total.svg" /></a></li>
<li>new commands:<ul>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#fix-quotes"><code>fix-quotes</code></a>: fix malformed CSV/TSV caused by double-quotes. <a href="https://github.com/shenwei356/csvtk/issues/260">#260</a></li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#del-quotes"><code>del-quotes</code></a>: remove extra double-quotes added by <code>fix-quotes</code>.</li>
<li><a href="https://github.com/shenwei356/csvtk/releases/tag/v0.30.0">csvtk v0.30.0</a>
<a href="https://github.com/shenwei356/csvtk/releases/tag/v0.30.0"><img alt="Github Releases (by Release)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/v0.30.0/total.svg" /></a></li>
<li><code>csvtk</code>:<ul>
<li>grouping subcommands in help message.</li>
<li>add a new global flag <code>--quiet</code>. <a href="https://github.com/shenwei356/csvtk/issues/261">#261</a></li>
<li>add a new global flag <code>-U, --delete-header</code> for disable outputing the header row. Supported commands: concat, csv2tab/tab2csv, csv2xlsx/xlsx2csv, cut, filter, filter2, freq, fold/unfold, gather, fmtdate, grep, head, join, mutate, mutate2, replace, round, sample. <a href="https://github.com/shenwei356/csvtk/issues/258">#258</a></li>
<li>support more commands with <code>-Z/--show-row-number</code>: head.</li>
</ul>
</li>
<li><code>csvtk del-header</code>:<ul>
<li>fix deleting headers of 2nd and later files. <a href="https://github.com/shenwei356/csvtk/issues/257">#257</a></li>
<li><code>csvtk dim</code>:<ul>
<li>fix duplicated rows for multiple input files, this bug was introduced in v0.27.0.</li>
</ul>
</li>
<li><code>csvtk concat</code>:<ul>
<li>fix panic when no data found.</li>
<li>fix panic when no data found. <a href="https://github.com/shenwei356/csvtk/issues/259">#259</a></li>
</ul>
</li>
<li><code>csvtk spread</code>:<ul>
<li>fix flag checking of <code>-k</code> and <code>-v</code>.</li>
</ul>
</li>
<li><code>csvtk sort</code>:<ul>
<li>support column names containing colons. <a href="https://github.com/shenwei356/csvtk/issues/254">#254</a></li>
<li>fix ordering when given multiple custom levels.</li>
</ul>
</li>
<li><code>csvtk filter2</code>:<ul>
<li>update doc: add the <code>in</code> keyword. <a href="https://github.com/shenwei356/csvtk/pull/195">#195</a></li>
<li>fix specifying the position for the new column containing only a constant string. <a href="https://github.com/shenwei356/csvtk/issues/252">#252</a></li>
<li><code>csvtk filter/filter2</code>:<ul>
<li>fix printing row number with <code>-Z</code>.</li>
</ul>
</li>
<li><code>csvtk plot</code>:<ul>
<li>add a new flag <code>--tick-label-size</code>.</li>
<li><code>csvtk xls2csv</code>:<ul>
<li>output raw data. <a href="https://github.com/shenwei356/csvtk/issues/262">#262</a></li>
</ul>
</li>
<li><code>csvtk pretty</code>:<ul>
<li>fix showing cell data containing "tabs", by replacing tabs with spaces.</li>
<li>change the default value of <code>-n/--buf-rows</code> from 128 to 1024, and 0 for loading all data.</li>
</ul>
</li>
<li><code>csvtk join</code>:<ul>
<li>new flag <code>-s/--suffix</code> for adding suffixes to colnames from each file. <a href="https://github.com/shenwei356/csvtk/issues/263">#263</a></li>
</ul>
</li>
</ul>
Expand All @@ -668,44 +677,44 @@ <h3 id="links">Links</h3>
<tr>
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">32-bit</td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_linux_386.tar.gz">csvtk_linux_386.tar.gz</a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_linux_386.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_linux_386.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_386.tar.gz.svg?maxAge=3600" /></a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_linux_386.tar.gz">csvtk_linux_386.tar.gz</a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_linux_386.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_linux_386.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_386.tar.gz.svg?maxAge=3600" /></a></td>
</tr>
<tr>
<td style="text-align: left;">Linux</td>
<td style="text-align: left;"><strong>64-bit</strong></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_linux_amd64.tar.gz"><strong>csvtk_linux_amd64.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_linux_amd64.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_linux_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_amd64.tar.gz.svg?maxAge=3600" /></a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_linux_amd64.tar.gz"><strong>csvtk_linux_amd64.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_linux_amd64.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_linux_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_amd64.tar.gz.svg?maxAge=3600" /></a></td>
</tr>
<tr>
<td style="text-align: left;">Linux</td>
<td style="text-align: left;"><strong>64-bit</strong></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_linux_arm64.tar.gz"><strong>csvtk_linux_arm64.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_linux_arm64.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_linux_arm64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_arm64.tar.gz.svg?maxAge=3600" /></a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_linux_arm64.tar.gz"><strong>csvtk_linux_arm64.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_linux_arm64.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_linux_arm64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_arm64.tar.gz.svg?maxAge=3600" /></a></td>
</tr>
<tr>
<td style="text-align: left;">macOS</td>
<td style="text-align: left;"><strong>64-bit</strong></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_darwin_amd64.tar.gz"><strong>csvtk_darwin_amd64.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_darwin_amd64.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_darwin_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_darwin_amd64.tar.gz.svg?maxAge=3600" /></a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_darwin_amd64.tar.gz"><strong>csvtk_darwin_amd64.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_darwin_amd64.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_darwin_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_darwin_amd64.tar.gz.svg?maxAge=3600" /></a></td>
</tr>
<tr>
<td style="text-align: left;">macOS</td>
<td style="text-align: left;"><strong>arm64</strong></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_darwin_arm64.tar.gz"><strong>csvtk_darwin_arm64.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_darwin_arm64.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_darwin_arm64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_darwin_arm64.tar.gz.svg?maxAge=3600" /></a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_darwin_arm64.tar.gz"><strong>csvtk_darwin_arm64.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_darwin_arm64.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_darwin_arm64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_darwin_arm64.tar.gz.svg?maxAge=3600" /></a></td>
</tr>
<tr>
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">32-bit</td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_windows_386.exe.tar.gz">csvtk_windows_386.exe.tar.gz</a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_windows_386.exe.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_windows_386.exe.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_windows_386.exe.tar.gz.svg?maxAge=3600" /></a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_windows_386.exe.tar.gz">csvtk_windows_386.exe.tar.gz</a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_windows_386.exe.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_windows_386.exe.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_windows_386.exe.tar.gz.svg?maxAge=3600" /></a></td>
</tr>
<tr>
<td style="text-align: left;">Windows</td>
<td style="text-align: left;"><strong>64-bit</strong></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_windows_amd64.exe.tar.gz"><strong>csvtk_windows_amd64.exe.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_windows_amd64.exe.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.29.0/csvtk_windows_amd64.exe.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_windows_amd64.exe.tar.gz.svg?maxAge=3600" /></a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_windows_amd64.exe.tar.gz"><strong>csvtk_windows_amd64.exe.tar.gz</strong></a>,<br/> <a href="http://app.shenwei.me/data/csvtk/csvtk_windows_amd64.exe.tar.gz">中国镜像</a></td>
<td style="text-align: left;"><a href="https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_windows_amd64.exe.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_windows_amd64.exe.tar.gz.svg?maxAge=3600" /></a></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -815,6 +824,38 @@ <h2 id="shell-completion">Shell-completion</h2>
</code></pre>
<h2 id="release-history">Release history</h2>
<ul>
<li><a href="https://github.com/shenwei356/csvtk/releases/tag/v0.29.0">csvtk v0.29.0</a>
<a href="https://github.com/shenwei356/csvtk/releases/tag/v0.29.0"><img alt="Github Releases (by Release)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/v0.29.0/total.svg" /></a></li>
<li>new commands:<ul>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#fix-quotes"><code>fix-quotes</code></a>: fix malformed CSV/TSV caused by double-quotes. <a href="https://github.com/shenwei356/csvtk/issues/260">#260</a></li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#del-quotes"><code>del-quotes</code></a>: remove extra double-quotes added by <code>fix-quotes</code>.</li>
</ul>
</li>
<li><code>csvtk del-header</code>:<ul>
<li>fix deleting headers of 2nd and later files. <a href="https://github.com/shenwei356/csvtk/issues/257">#257</a></li>
</ul>
</li>
<li><code>csvtk concat</code>:<ul>
<li>fix panic when no data found.</li>
</ul>
</li>
<li><code>csvtk sort</code>:<ul>
<li>support column names containing colons. <a href="https://github.com/shenwei356/csvtk/issues/254">#254</a></li>
</ul>
</li>
<li><code>csvtk filter2</code>:<ul>
<li>update doc: add the <code>in</code> keyword. <a href="https://github.com/shenwei356/csvtk/pull/195">#195</a></li>
<li>fix specifying the position for the new column containing only a constant string. <a href="https://github.com/shenwei356/csvtk/issues/252">#252</a></li>
</ul>
</li>
<li><code>csvtk plot</code>:<ul>
<li>add a new flag <code>--tick-label-size</code>.</li>
</ul>
</li>
<li><code>csvtk pretty</code>:<ul>
<li>fix showing cell data containing "tabs", by replacing tabs with spaces.</li>
</ul>
</li>
<li><a href="https://github.com/shenwei356/csvtk/releases/tag/v0.28.0">csvtk v0.28.0</a>
<a href="https://github.com/shenwei356/csvtk/releases/tag/v0.28.0"><img alt="Github Releases (by Release)" src="https://img.shields.io/github/downloads/shenwei356/csvtk/v0.28.0/total.svg" /></a></li>
<li><code>csvtk</code>:<ul>
Expand Down
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,6 @@ <h2 id="subcommands">Subcommands</h2>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#csv2tab"><code>csv2tab</code></a>: converts CSV to tabular format</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#tab2csv"><code>tab2csv</code></a>: converts tabular format to CSV</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#space2tab"><code>space2tab</code></a>: converts space delimited format to TSV</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#transpose"><code>transpose</code></a>: transposes CSV data</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#csv2md"><code>csv2md</code></a>: converts CSV to markdown format</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#csv2rst"><code>csv2rst</code></a>: converts CSV to reStructuredText format</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#csv2json"><code>csv2json</code></a>: converts CSV to JSON format</li>
Expand Down Expand Up @@ -796,12 +795,16 @@ <h2 id="subcommands">Subcommands</h2>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#round"><code>round</code></a>: round float to n decimal places</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#mutate"><code>mutate</code></a>: creates new columns from selected fields by regular expression</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#mutate2"><code>mutate2</code></a>: creates a new column from selected fields by awk-like arithmetic/string expressions</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#fmtdate"><code>fmtdate</code></a>: format date of selected fields</li>
</ul>
<p><strong>Transform</strong></p>
<ul>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#transpose"><code>transpose</code></a>: transposes CSV data</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#sep"><code>sep</code></a>: separate column into multiple columns</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#gather"><code>gather</code></a>: gather columns into key-value pairs, like <code>tidyr::gather/pivot_longer</code></li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/spread"><code>spread</code></a>: spread a key-value pair across multiple columns, like <code>tidyr::spread/pivot_wider</code></li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#unfold"><code>unfold</code></a>: unfold multiple values in cells of a field</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#fold"><code>fold</code></a>: fold multiple values of a field into cells of groups</li>
<li><a href="https://bioinf.shenwei.me/csvtk/usage/#fmtdate"><code>fmtdate</code></a>: format date of selected fields</li>
</ul>
<p><strong>Ordering</strong></p>
<ul>
Expand Down Expand Up @@ -1003,7 +1006,7 @@ <h2 id="examples">Examples</h2>
<ol>
<li>By default, csvtk assumes input files have header row, if not, switch flag <code>-H</code> on.</li>
<li>By default, csvtk handles CSV files, use flag <code>-t</code> for tab-delimited files.</li>
<li>Column names better be unique.</li>
<li>Column names should be unique.</li>
<li>By default, lines starting with <code>#</code> will be ignored, if the header row
starts with <code>#</code>, please assign flag <code>-C</code> another rare symbol, e.g. <code>$</code>.</li>
<li>Do not mix use field (column) numbers and names to specify columns to operate.</li>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.
Loading

0 comments on commit 0cc7fe0

Please sign in to comment.