]> git.sesse.net Git - autoeconomy/blob - learn.crm
Initial checkin for move to Git (no prior version history available).
[autoeconomy] / learn.crm
1 #! /usr/bin/crm
2 # (account, usedate, weekday, type, text, direction, amount, cssfile)
3
4 # prefix each text token with text_
5 {
6         match <fromend> [:text:] (:place:) /[[:graph:]]+/
7         alter (:place:) /text_:*:place:/
8         liaf
9 }
10
11 isolate (:m_text:) /account_:*:account: usedate_:*:usedate: weekday_:*:weekday: type_:*:type: :*:text: direction_:*:direction: amount_:*:amount:/
12 learn [:m_text:] <osb unique microgroom> (:*:cssfile:)
13 exit