#read-file #stdin #list #items #hash #indicator #save-file

app lasttime

check if stdin items are in a list read from a file

1 unstable release

0.1.0 May 21, 2023

#2639 in Command line utilities

GPL-3.0 license

6KB
85 lines

lasttime

Check whether items in stdin are present in a list read from a file, if not present the item will be printed with an indicator at the beginning (default: *). File contents are updated with stdin list. Comparison and saving of items is done with their SHA-256 hashes.

Usage

lasttime [OPTIONS] <SAVE_FILE>

Arguments

<SAVE_FILE>  Path to file for saving session data

Options

-i, --indicator <INDICATOR>  Indicator for new items [default: *]
-n, --no-save                Execute the program but do not save results to file
-h, --help                   Print help
-V, --version                Print version

Dependencies

~1.8–2.7MB
~49K SLoC