VisionSystemsInc / VisionSystemsInc/vsi_common
Make a function to auto fill gaps in an array
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8
- Forks
- 9
- Avg merge
- 36m
- Merged PRs (30d)
- 1
Description
elements.bsh is a natural place for this, have it take an optional value to set empty to (default to "")
I assume this can't be refactored into a function. You do this in various places
Originally posted by @scott-vsi in https://github.com/VisionSystemsInc/vsi_common/pull/476#discussion_r1355936167
Contributor guide
No contributing guide indexed for this repository
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 reading elements.bsh and locating the repeated array-gap handling referenced in the issue. Add the requested function with its optional fill value and verify that empty array positions are filled with the default or supplied value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100