<commit_before>#dump navigation commands
Commands to navigate a Plan 9 style dump

Consists of two programs hist and yest and a package which supports both.
The two commands hist and yest mirror the commands yesterday(1) (http://man.cat-v.org/plan_9/1/yesterday)
and history(1) (http://man.cat-v.org/plan_9/1/history) from plan 9 with some peculiarities.
Both programs expect two enviroment variables, containing paths separated by colons:

	export MAINROOT=/newage/NEWAGE:/bla:/ble
	export DUMPROOT=/dump:/asd:/e/a

The first directoy of each variable which exists will be used. MAINROOT has the root of the
filesystem which is backed up by the dump. DUMPROOT is the root of the dump. Paths in the dump
are of the form
	/dump/yyyy/ddmm/hhmm/rootname/bla/bla
where rootname is obtained from the MAINROOT path. An example:

	/dump/2017/0510/1605/NEWAGE/paurea/

Directly inside the dump root there can be some files, which are ignored by this commands, 
"current", "current_chk", "first" and "lost+found".

YEST(1)

	yest [-y=n] [-m=n] [-d=n] [-h=n] [-D] file_path

The command yest(1) prints the path of the backup file or directory for the path given as
command line.

They -y -m -d -h options give yest the number of years, months days and hours ago
for the dump required. The path printed is the biggest available smaller or equal than the
one requested. By default, yest prints yesterday's file (i.e. yest -d 1).

 The option -D is for debugging the program itself.

HIST(1)

	hist [-Dvc] [-ymdh] file_path

Hist(1) prints the history of a path. by default if it represents a text file, it will print the diffs
of the changes as the file was modified in history. If it is not a text file, or if the -c option is given<commit_msg>README dump path mistake<commit_after>#dump navigation commands
Commands to navigate a Plan 9 style dump

Consists of two programs hist and yest and a package which supports both.
The two commands hist and yest mirror the commands yesterday(1) (http://man.cat-v.org/plan_9/1/yesterday)
and history(1) (http://man.cat-v.org/plan_9/1/history) from plan 9 with some peculiarities.
Both programs expect two enviroment variables, containing paths separated by colons:

	export MAINROOT=/newage/NEWAGE:/bla:/ble
	export DUMPROOT=/dump:/asd:/e/a

The first directoy of each variable which exists will be used. MAINROOT has the root of the
filesystem which is backed up by the dump. DUMPROOT is the root of the dump. Paths in the dump
are of the form

	/dump/yyyy/ddmm/hhmm/rootname/bla/bla

where rootname is obtained from the MAINROOT path. An example:

	/dump/2017/0510/1605/NEWAGE/paurea/

Directly inside the dump root there can be some files, which are ignored by this commands, 
"current", "current_chk", "first" and "lost+found".

YEST(1)

	yest [-y=n] [-m=n] [-d=n] [-h=n] [-D] file_path

The command yest(1) prints the path of the backup file or directory for the path given as
command line.

They -y -m -d -h options give yest the number of years, months days and hours ago
for the dump required. The path printed is the biggest available smaller or equal than the
one requested. By default, yest prints yesterday's file (i.e. yest -d 1).

 The option -D is for debugging the program itself.

HIST(1)

	hist [-Dvc] [-ymdh] file_path

Hist(1) prints the history of a path. by default if it represents a text file, it will print the diffs
of the changes as the file was modified in history. If it is not a text file, or if the -c option is given
{'fraction_non_alphanumeric': 0.07875826386892786, 'fraction_numerical': 0.014371945961483185, 'mean_word_length': 3.9291784702549575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '841952', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1065, 'n_words': 526}