The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Will Senn <will.senn@gmail.com>
To: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] cut, paste, join, etc.
Date: Tue, 16 Feb 2021 20:26:11 -0600	[thread overview]
Message-ID: <55d60220-c22d-c99f-f40c-68a741183213@gmail.com> (raw)
In-Reply-To: <399f2cdc-d790-c4fe-18e3-0cb6b4c76554@spamtrap.tnetconsulting.net>

[-- Attachment #1: Type: text/plain, Size: 1793 bytes --]

On 2/16/21 7:43 PM, Grant Taylor via TUHS wrote:
> On 2/16/21 6:16 PM, Will Senn wrote:
>> Nice! Thanks Doug. Too bad, though... one gets ever tired of having 
>> to log into db's and a simple text db system would be useful. Even 
>> sqlite, which I love, requires login to get at information... I'm 
>> already logged in, why can't I just ask for my info and have it 
>> returned?
>
> What do you mean by "log into db's" in relation to SQLite?  I've never 
> needed to enter a username and password to access SQLite.
>
> If you /do/ mean username and password, I believe that some DBs will 
> allow you to authenticate using Kerberos.  Thus you should be able to 
> streamline DB access along with access to many other things.
>
> If you /don't/ mean username and password, then what do you mean? Are 
> you referring to needing to run a command to open and access the 
> SQLite DB?  Taking a quick gander at sqlite3 --help makes me think 
> that you can append the SQL(ite) command that you want to run to the 
> command line.
>
>
>
Oops. That's right, no username & password, but you still need to bring 
it up and interact with it... accept, as you say, you can enter your sql 
as an argument to the executable. OK, I suppose ... grump, grump... Not 
quite what I was thinking, but I'd be hard pressed to argue the 
difference between creating a handful of files in the filesystem (vs 
tables in sqlite) and then using some unix filter utilities to access 
and combine the file relations (vs passing sql to sqlite) other than, 
it'd be fun if there were select, col, row (grep?), join (inner, outer, 
natural), utils that worked with text without the need to worry about 
the finickiness of the database (don't stone me as a database 
unbeliever, I've used plenty in my day).

Will





[-- Attachment #2: Type: text/html, Size: 2501 bytes --]

  reply	other threads:[~2021-02-17  2:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-17  1:08 M Douglas McIlroy
2021-02-17  1:16 ` Will Senn
2021-02-17  1:43   ` Grant Taylor via TUHS
2021-02-17  2:26     ` Will Senn [this message]
2021-02-17  4:08       ` Grant Taylor via TUHS
2021-02-17 10:14         ` John Gilmore
2021-02-17 14:52           ` Andrew Hume
2021-02-17 23:58           ` Dan Cross
2021-02-17 20:49         ` Dave Horsfall
2021-02-22  5:57       ` Tomasz Rola
2021-02-17  3:29   ` John Cowan
  -- strict thread matches above, loose matches on Subject: below --
2021-02-18 20:20 Brian Walden
2021-02-18 20:41 ` Anthony Martin
2021-02-16 20:33 Will Senn
2021-02-16 21:02 ` Dave Horsfall
2021-02-16 21:15   ` Will Senn
2021-02-16 21:26     ` Dave Horsfall
2021-02-16 21:06 ` Dennis Boone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55d60220-c22d-c99f-f40c-68a741183213@gmail.com \
    --to=will.senn@gmail.com \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).