drm: behavior relative to "rm -rf"
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 200
- Forks
- 85
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 2
Description
I will note that the docs for drm say "behaves like rm -rf", but that doesn't seem quite correct . . . For plain old rm, the docs say the following:
"-f: Ignore nonexistent files and arguments, never prompt"
However, I am seeing that drm errors out on nonexistent arguments, i.e., if I type:
drm file1 file2,
and file1 doesn't exist, then file2 is not removed, which is . . . painful. Is this intentional, or ??? Thx
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
Read the drm documentation's “behaves like rm -rf” claim and inspect the drm command entry point. Reproduce drm file1 file2 with file1 absent, then verify the intended handling of nonexistent arguments and document or test the resolved behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100