home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 241,838 of 243,242   
   Richard Heathfield to Michael Sanders   
   Re: Usage/Help Screen Conventions   
   07 Nov 25 21:25:52   
   
   From: rjh@cpax.org.uk   
      
   On 07/11/2025 19:25, Michael Sanders wrote:   
   > On Fri, 07 Nov 2025 13:08:26 +0000, Ben Bacarisse wrote:   
   >   
   >> These options are, essentially, "modes".  The utility provides three   
   >> things it can do and they can't be mixed.  Some utilities use alternate   
   >> names: tinybase-query, tinybase-tag and tinybase-manual would all be   
   >> symbolic links to one executable.  That's probably over the top for this   
   >> program, but I would describe it as three separate use cases with three   
   >> separate syntax lines.   
   >   
   > Well hey there Ben, hope you're doing alright.   
   >   
   > Also hope Janis & Richard are reading too as I've tried   
   > to incorporate the best of all three of your replies.   
   >   
   > Here's where I'm at (like your 'mode' anaology):   
   >   
   > Usage: tinybase [ -q queries... | -t | -m ] [ files... ]   
   >   
   > Options:   
   >   
   >    -q  query mode: find blocks with matching tags or wildcards   
   >        example: tinybase -q 'query1, query2' files   
   >        (if no files are given, reads from standard input)   
   >   
   >    -t  tag index mode: list all unique tags across the given files   
   >        example: tinybase -t files   
   >   
   >    -m  manual mode: show the built-in documentation   
   >   
   > Notes:   
   >   
   >    Multiple queries are comma-separated.   
   >    Wildcards (*, ?) are supported in queries.   
   >    When no files are provided, stdin is read automatically.   
      
   I'm pretty sure I've read every article in this thread, but I   
   still have no idea what tinybase actually does. Is it an analyser   
   for alkaline chemical structures, or a nucleobase designer, or a   
   microRDBMS, or what?   
      
   tinybase really ought to tell you that, in just a sentence or two.   
      
   --   
   Richard Heathfield   
   Email: rjh at cpax dot org dot uk   
   "Usenet is a strange place" - dmr 29 July 1999   
   Sig line 4 vacant - apply within   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca