Skip to content

tshakalekholoane/can

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

can

Continuous Integration

can is a macOS command-line utility that provides an alternative to the rm command. Instead of permanently deleting files and directories, can moves them to the user's Trash, allowing for easy recovery if needed.

Usage

usage: can [-h | -V] [--] file ...

Installation

Source

The application can be built from source by cloning the repository and running the following commands which require working versions of Make and a C compiler with C23 support.

Warning

GCC 14 incorrectly uses __STDC_VERSION__ == 202000 for C23 1, which will produce an error even when the -std=c23 flag is set.

git clone https://github.com/tshakalekholoane/can && cd can
make

Footnotes

  1. See https://stackoverflow.com/a/78582932.