Add support for /dev/null

Open Beginner friendly
#128 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Start by locating the Windows installer and its uninstall handling. Check how it creates and removes supporting directories, then implement the proposed C:\dev\null link without failing when C:\dev already exists or removing an existing directory; verify the installer and uninstall behavior on Windows.

Written by the indexing model from the issue text.

Description

Seems like we could add support for almost all uses of /dev/null with this in the installer (ignore errors when creating C:\dev, don't remove C:\dev if it existed on uninstall (or ever?)

mkdir C:\dev
mklink C:\dev\null NUL:
Dominant language
Rust
Stars
5.2k
Forks
107
Avg merge
2d 19h
Merged PRs (30d)
4

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.

More from microsoft/coreutils

All issues in microsoft/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.