Make utouch the new touch (#14721)

# Description

This PR removes the old `touch` command in favor of the uutils/coreutils
implementation of `touch`, which we integrated in 0.101 (#11817).

It turns out that in `utouch`, the `--no-deref`/`-s` wasn't working, and
the issue had gone undetected because I accidentally made the test for
that use `touch` rather than `utouch`. This has been fixed now.

# User-Facing Changes

Our old `touch` command didn't have anything that the new uutils-based
command doesn't, and the uutils-based command actually has a little more
functionality. So nothing using `touch` should break.

Scripts using `utouch` will have to use `touch` now, but given that
`utouch` has been around for less than 2 months, I assume people haven't
really been using it.

# Tests + Formatting

The utouch tests seem to have everything from the old touch tests, so I
deleted the old touch tests.

# After Submitting

This will need to be mentioned in the release notes.
This commit is contained in:
Yash Thakur
2025-01-02 07:26:46 -05:00
committed by GitHub
parent c46ca36bcd
commit 80788636ee
7 changed files with 50 additions and 958 deletions

View File

@ -112,7 +112,6 @@ mod take;
mod tee;
mod terminal;
mod to_text;
mod touch;
mod transpose;
mod try_;
mod ucp;