Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
/ no Public archive

Output a string repeatedly until killed

License

Notifications You must be signed in to change notification settings

xfgusta/no

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

no

Small no version of yes from GNU coreutils.

no prints the command line arguments, separated by spaces and followed by a newline, forever until it is killed. If no arguments are given, it prints 'n' followed by a newline forever until killed.

Installation

Requirements

  • make
  • gcc

Build and install with:

git clone https://github.com/xfgusta/no.git
cd no
make

And then make install as root.

To uninstall, run make uninstall as root as well.

Example

no prints 'n' forever until killed:

n
n
n

no hello cruel world prints 'hello cruel world' forever until killed:

hello cruel world
hello cruel world
hello cruel world

License

The MIT License (MIT)

Copyright (c) 2021 Gustavo Costa

About

Output a string repeatedly until killed

Topics

Resources

License

Stars

Watchers

Forks