diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-10-12 00:58:40 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-10-12 00:58:40 +0000 |
| commit | 60eca880ee450f822fc32cf5bd9c32ab04b6956a (patch) | |
| tree | 2c75ed508d86fa714c38a22002171d02a6a75720 /doc/dollarsharp.html | |
| parent | 99336f8eac58571768f01d19773dd424d8e00464 (diff) | |
| download | execline-60eca880ee450f822fc32cf5bd9c32ab04b6956a.tar.gz | |
Add dollarsharp, rewrite wait
Entirely untested, will test now
Diffstat (limited to 'doc/dollarsharp.html')
| -rw-r--r-- | doc/dollarsharp.html | 46 |
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> |
