sw.1 (1868B)
1 .TH SW 1 sw\-VERSION 2 .SH NAME 3 sw \- simple wallet 4 .SH SYNOPSIS 5 .B sw 6 .RB [ \-v ]\ [ \-defiltx \ <arg>]\ [<date\ [time]\>\ <amount>\ <note>] 7 .SH DESCRIPTION 8 sw is a wallet management tool which features a simple yet powerful interface 9 to keep track of your money movements. By default (if no -l, -f or -t is 10 specified) last 25 movements are shown. 11 12 To add a movement run sw with the following arguments: 13 .TP 14 .B date time 15 a string for the date in the format dd/mm/yyyy optionally followed by a time 16 (hh:mm). If no time is specified 00:00 is assumed. The word "now" can be used 17 to in place of the current date and time. 18 .TP 19 .B amount 20 floating point value which can be positive (incomes) or negative (expenses) 21 .TP 22 .B note 23 An arbitrary string which identify the movement 24 .TP 25 Example: sw "14/08/2024 14:52" -90.52 "Food and drink for Ferragosto" 26 .SH OPTIONS 27 .TP 28 .B \-v 29 prints version information to standard output, then exits. 30 .TP 31 .B \-d\ <id> 32 remove the specified movement, then exits. 33 .TP 34 .B \-e\ <text> 35 show only movements that match the given string (case insensitive). May be 36 specified multiple times. 37 .TP 38 .B \-f\ <date\ [time]> 39 show only movements corresponding to or subsequent to the given date (and 40 optional time) string. See DESCRIPTION for informations on date and time 41 formats. 42 .TP 43 .B \-i\ <file> 44 use the given file as movements database. 45 .TP 46 .B \-l\ <limit> 47 limit the number of movements in the listing. If zero is specified then assume 48 a value of INT_MAX (show all movements). 49 .TP 50 .B \-t\ <date\ [time]> 51 show only movements corresponding to or prior to the given date (and optional 52 time) string. See DESCRIPTION for informations on date and time formats. 53 .TP 54 .B \-x\ <text> 55 exclude all movements that include the given string (case insensitive). May be 56 specified multiple times. 57 .SH NOTES 58 Custom formats for dates will be supported in future version of sw.