Recfiles
Create:
1database=games.rec
2touch $database
3for g in Vojvodina Saboter Carcassonne Chess; do
4 recins -r "Name: $g" -r "Played: yes" $database
5done
Read:
1recsel $database
2query=Carc
3recsel --quick=$query $database
4
5game=Vojvodina
6recsel --expression="Name = '${game}'" $database
Update:
1recset --expression="Name = '${game}'" -f Played --set="no" $database
2new_field=Played
3value=no
4recset -f "$new_field" --delete $database
5recset -f "$new_field" --set-add="$value" $database
6recsel $database
Delete:
1recdel --expression="Name = '${game}'" $database
2recset -f "$new_field" --delete $database
- Extended example
- Playing with board games data
- Playing with IP addresses
- Manage LaTeX Bibliographies
- Fixes
Resources