xiph / xiph/flac

flac -t output not readily greppable

Open
#196 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
2.4k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

It seems to me that flac -t should suppress the warranty/credits/version output, much like shasum -c, or at least put the noise to a different fd than the meaningful output. Perhaps the warranty/credits could go to stderr (to be seen by the user) and the real output could go to stdout.

It seems that it should also skip the percentage count-up in the event that stdout is not a tty.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the flac -t command implementation and run it with stdout redirected to inspect which messages and progress output are emitted. Trace the existing output paths and any related tests. Done means the meaningful test output is readily greppable, informational noise is separated appropriately, and percentage progress is skipped when stdout is not a tty.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
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.