diafygi / diafygi/gnu-pricing

Table formatting gets messed up when command name is longer than 7 characters

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
510
Forks
11
PR merge metrics
No merged PRs in 30d

Description

command usage   cost

------- ----- ----
basename 54 $.54
cat 89 $.89
gzip 1 $.01
ls 19 $.19
mkdir 65 $.65
pricing.sh 2 $.02
sort 2 $.02
uname 1 $.01
uniq 2 $.02
------- ----- ----
Total 235 $2.35

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that formats the command usage and cost table, then reproduce the example with a command name longer than seven characters, especially pricing.sh. Done means the command, usage, cost, and total columns remain aligned; no file or test is named in the issue, so add or update a regression test if the project provides a test location.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.