Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- asdf@moloko ~/src/fdd $ ./fdd -h
- fdd -- Your personal fast food budget
- USAGE: ./fdd [-n N] [-s N] -t
- On a new month:
- ./fdd -n <money available per day>
- Otherwise:
- ./fdd -s <spent amount>
- ./fdd -t Displays a summary
- Money is counted in cents.
- asdf@moloko ~/src/fdd $ ./fdd -t -n 200
- --------------------------------------
- SUMMARY:
- --------------------------------------
- Today is 01.07.2016.
- Your monthly budget is: 62.00 EUR
- You spent: 0.00 EUR
- Budget until today: 2.00 EUR
- --------------------------------------
- You can spend 2.00 EUR
- asdf@moloko ~/src/fdd $ ./fdd -s 100
- Spending of 1.00 EUR checked in.
- You can spend 1.00 EUR
- asdf@moloko ~/src/fdd $ ./fdd -s 500
- Spending of 5.00 EUR checked in.
- You can spend again on 04.07.2016
- asdf@moloko ~/src/fdd $ ./fdd -s 7000
- Spending of 70.00 EUR checked in. You overspent your monthly budget!
- You can spend again next month.
- asdf@moloko ~/src/fdd $ ./fdd -t
- --------------------------------------
- SUMMARY:
- --------------------------------------
- Today is 01.07.2016.
- Your monthly budget is: 62.00 EUR
- You spent: 76.00 EUR
- Budget until today: 2.00 EUR
- --------------------------------------
- You can spend again next month.
- asdf@moloko ~/src/fdd $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement