GildedRose-Refactoring-Kata/bash
2023-12-23 17:29:46 +01:00
..
gilded_rose.sh bash: initial impl 2023-12-23 17:26:19 +01:00
README.md . d README.md notes 2023-12-23 17:29:46 +01:00

A pure "function", so this works:

$ echo -e 'Aged Brie,3,5\nOther Item,4,5' |\
    ./gilded_rose.sh |\
    ./gilded_rose.sh |\
    ./gilded_rose.sh
Aged Brie,0,8
Other Item,1,2