Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.6 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.6 KB

slowutils

A few of the coreutils written in python becuase why not

Below is the list of programs I have rewritten thus far, and how they differ from the original (they are all slower)

Requirements

  • python 3+

Install

git clone https://github.com/KaffeinatedKat/slowutils
cd slowutils
pip3 install --user .

Programs

dog - (cat)

concatenate files and print on the standard output

abolish - (rm)

file deletion utility

  • yet to be implimented
  • --interactive prompt according to WHEN: never, once (-I), or always (-i); without WHEN, prompt always
  • --one-file-system when removing a hierarchy recursively, skip any directory that is on a file system different from that of the corresponding command line argument
  • --no-preserve-root do not treat '/' specially
  • --preserve-root[all] do not remove '/'

smack - (touch)

change modification and access time of files

  • yet to be implimented
  • long options
  • -d, --date=STRING parse STRING and use it instead of current time
  • --time=WORD change the specified time: WORD is access, atime, or use: equivalent to -a WORD is modify or mtime: equivalent to -m

yeah - (yes)

output a string repeatedly until killed

isthatme (whoami)

print effective userid