keybase / keybase/keybase-issues

Keybase shell command substitutions should use $() instead of backticks

Open
#2,487 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Keybase "command line with [bash + GPG + cURL]" actions produce shell scripts that use backticks for command substitution. Using `$(command)` for command substitutions is preferred over ``command``. See http://mywiki.wooledge.org/BashFAQ/082.

[Backtick command substitutions also produce warnings in shellcheck](https://github.com/koalaman/shellcheck/wiki/SC2006).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Keybase command-line actions that generate the bash + GPG + cURL shell scripts, since the issue names no files or tests. Inspect the generated command substitutions and verify that replacing backticks removes ShellCheck SC2006 warnings without changing script behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.