aboutsummaryrefslogtreecommitdiffstats
path: root/doc/dollarsharp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dollarsharp.html')
-rw-r--r--doc/dollarsharp.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/dollarsharp.html b/doc/dollarsharp.html
new file mode 100644
index 0000000..4643775
--- /dev/null
+++ b/doc/dollarsharp.html
@@ -0,0 +1,46 @@
+<html>
+ <head>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="color-scheme" content="dark light" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>execline: the dollarsharp command</title>
+ <meta name="Description" content="execline: the dollarsharp command" />
+ <meta name="Keywords" content="execline command dollarsharp" />
+ <!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
+</head>
+<body>
+
+<p>
+<a href="index.html">execline</a><br />
+<a href="//skarnet.org/software/">Software</a><br />
+<a href="//skarnet.org/">skarnet.org</a>
+</p>
+
+<h1> The <tt>dollarsharp</tt> program </h1>
+
+<p>
+<tt>dollarsharp</tt> prints the number of arguments it is called with.
+</p>
+
+<h2> Interface </h2>
+
+<pre>
+ dollarsharp [ args ]
+</pre>
+
+<ul>
+ <li> <tt>dollarsharp</tt> reads the number of arguments it is given,
+then prints this number on stdout. </li>
+ <li> It then exits 0. </li>
+
+<h2> Notes </h2>
+
+<ul>
+ <li> A use case for <tt>dollarsharp</tt> is e.g. after calling an
+<a href="elglob.html"><tt>elglob -0</tt></a> command, to check how
+many results the globbing returned. </li>
+</ul>
+
+</body>
+</html>