mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-24 02:36:15 +00:00
84 lines
No EOL
3.6 KiB
HTML
84 lines
No EOL
3.6 KiB
HTML
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Reference: online help — Miller 6.0.0-alpha documentation</title>
|
|
|
|
<link rel="stylesheet" href="_static/scrolls.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/print.css" type="text/css" />
|
|
|
|
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
|
<script src="_static/jquery.js"></script>
|
|
<script src="_static/underscore.js"></script>
|
|
<script src="_static/doctools.js"></script>
|
|
<script src="_static/language_data.js"></script>
|
|
<script src="_static/theme_extras.js"></script>
|
|
<link rel="index" title="Index" href="genindex.html" />
|
|
<link rel="search" title="Search" href="search.html" />
|
|
<link rel="next" title="DSL reference: overview" href="reference-dsl.html" />
|
|
<link rel="prev" title="Reference: Miller environment variables" href="reference-main-env-vars.html" />
|
|
</head><body>
|
|
<div id="content">
|
|
<div class="header">
|
|
<h1 class="heading"><a href="index.html"
|
|
title="back to the documentation overview"><span>Reference: online help</span></a></h1>
|
|
</div>
|
|
<div class="relnav" role="navigation" aria-label="related navigation">
|
|
<a href="reference-main-env-vars.html">« Reference: Miller environment variables</a> |
|
|
<a href="#">Reference: online help</a>
|
|
| <a href="reference-dsl.html">DSL reference: overview »</a>
|
|
</div>
|
|
<div id="contentwrapper">
|
|
<div role="main">
|
|
|
|
<div class="section" id="reference-online-help">
|
|
<h1>Reference: online help<a class="headerlink" href="#reference-online-help" title="Permalink to this headline">¶</a></h1>
|
|
<p>TODO: expand this section</p>
|
|
<p>Examples:</p>
|
|
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span><span class="hll"> mlr --help
|
|
</span> Usage: mlr [I/O options] {verb} [verb-dependent options ...] {zero or more file names}
|
|
Output of one verb may be chained as input to another using "then", e.g.
|
|
mlr stats1 -a min,mean,max -f flag,u,v -g color then sort -f color
|
|
Please see 'mlr help topics' for more information.
|
|
Please also see https://johnkerl.org/miller6
|
|
</pre></div>
|
|
</div>
|
|
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span><span class="hll"> mlr sort --help
|
|
</span> Usage: mlr sort {flags}
|
|
Sorts records primarily by the first specified field, secondarily by the second
|
|
field, and so on. (Any records not having all specified sort keys will appear
|
|
at the end of the output, in the order they were encountered, regardless of the
|
|
specified sort order.) The sort is stable: records that compare equal will sort
|
|
in the order they were encountered in the input record stream.
|
|
|
|
Options:
|
|
-f {comma-separated field names} Lexical ascending
|
|
-n {comma-separated field names} Numerical ascending; nulls sort last
|
|
-nf {comma-separated field names} Same as -n
|
|
-r {comma-separated field names} Lexical descending
|
|
-nr {comma-separated field names} Numerical descending; nulls sort first
|
|
-h|--help Show this message.
|
|
|
|
Example:
|
|
mlr sort -f a,b -nr x,y,z
|
|
which is the same as:
|
|
mlr sort -f a -f b -nr x -nr y -nr z
|
|
</pre></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="footer" role="contentinfo">
|
|
© Copyright 2021, John Kerl.
|
|
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.2.1.
|
|
</div>
|
|
</body>
|
|
</html> |