#year #append #range #line #input #1994

app yearsfx

Appends years in range to input

1 unstable release

0.1.0 Nov 13, 2021

#23 in #append

MIT license

4KB

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

Dependencies

~4MB
~68K SLoC