output does not include a newline at end of file
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.1k
- Forks
- 1.1k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 9
Description
Hello! Just a small nit, hope it's alright.
sops' output does not include a newline at the end of it's output, which is not in accordance with POSIX's definition of a Text File.
sops -e --age $age foobar.json | tail -c 1
}
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the reported sops -e --age $age foobar.json | tail -c 1 command and trace the CLI output path responsible for the final byte. Done means encrypted output ends with a newline while preserving the existing output behavior; verify this with the same command and POSIX text-file expectation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100