Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdcv: add page #6145

Merged
merged 28 commits into from
Jul 7, 2021
Merged
Changes from 14 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions pages/common/sdcv.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# sdcv

> StarDict console version. Command line dictionary client.
> Dictionaries are provided separately.
Copy link
Member

@sbrl sbrl Jun 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this will read better?

Suggested change
> StarDict console version. Command line dictionary client.
> Dictionaries are provided separately.
> StarDict command-line dictionary client.
> Dictionaries are provided separately to the program itself.

Copy link
Member

@CleanMachine1 CleanMachine1 Jun 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you like to edit that to command-line Edit: done by @bl-ue

I didn't see it previously

And I don't like that itself, its unrequired

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to include"StarDict command-line version" somewhere, because that's what the acronym is.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about "StarDict command-line version, dictionary client. Dictionaries are provided separately from the client. "

Copy link
Contributor

@bl-ue bl-ue Jun 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that's interesting @258204. In that case I think it's fine to deviate a bit from "convention."

> StarDict command-line version (sdcv).
> Dictionaries are provided separately from the program itself.

(note: @sbrl's separately to is not grammatically correct — @258204's separately from is)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm, StarDict command-line version doesn't really read very well or make grammatical sense. Despite this, I think @bl-ue's suggestion is the best one given the situation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about

> StarDict command-line variant

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm. I think StarDict command-line variant is worse than @bl-ue's version.

> More information: <https://manned.org/sdcv>.

- List installed dictionaries:

`sdcv --list-dictist-dicts`
258204 marked this conversation as resolved.
Show resolved Hide resolved

- Display a definition from a specific dictionary:

`sdcv --use-dict {{dictionary_name}} {{search_term}}`

- Display help:

`sdcv --help`

- Lookup definition with fuzzy search:
258204 marked this conversation as resolved.
Show resolved Hide resolved

`sdcv {{search_term}}`

- Lookup definition with exact search:
258204 marked this conversation as resolved.
Show resolved Hide resolved

`sdcv --exact-search {{search_term}}`

- Lookup definition and get json output:
258204 marked this conversation as resolved.
Show resolved Hide resolved

`sdcv -j {{search_term}}`
258204 marked this conversation as resolved.
Show resolved Hide resolved

- Look in specific directory for dictionaries:
258204 marked this conversation as resolved.
Show resolved Hide resolved

`sdvc --data-dir path/to/directory {{search_term}}`
258204 marked this conversation as resolved.
Show resolved Hide resolved

- Start sdcv interactively:

`sdcv`