alias ttystory='history > ~/ttystory-$( hostname )-$( date +%s ).txt' # ttystory collector
ttystory # ttystory was been made
cat ~/ttystory* > ~/teststory.txt # puts all stories together
cat ~/teststory.txt | nodejs -e "..." # todo = pipeline exampling thingy
the pattern:
- it has to be at start so we point on 0 char of string
- then with at least one space must be next
- then from one up to four digits must be next
- then star char or space must be next
- then space must be next