yearsfx

Crates.ioyearsfx
lib.rsyearsfx
version0.1.0
sourcesrc
created_at2021-11-13 22:46:12.246378
updated_at2021-11-13 22:46:12.246378
descriptionAppends years in range to input
homepage
repository
max_upload_size
id481555
size9,600
Nils Feierabend (mztikk)

documentation

README

yearsfx

yearsfx will append years in a given range to the end of every line piped into it.

The start year is a required argument with the end year being an optional second argument, if ommitted it will be the current year.

Usage

yearsfx <start-year> [end-year]

Example

echo "Hello World" | yearsfx 2015

Hello World2015
Hello World2016
Hello World2017
Hello World2018
Hello World2019
Hello World2020
Hello World2021
echo "test" | yearsfx 1994 2000

test1994
test1995
test1996
test1997
test1998
test1999
test2000
Commit count: 0

cargo fmt