forked from andonome/lk
		
	
		
			
				
	
	
	
		
			1.0 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.0 KiB
		
	
	
	
	
	
	
	
title, tags
| title | tags | ||
|---|---|---|---|
| Recfiles | 
  | 
Create:
database=games.rec
touch $database
for g in Vojvodina Saboter Carcassonne Chess; do
    recins -r "Name: $g" -r "Played: yes" $database
done
Read:
recsel $database
query=Carc
recsel --quick=$query $database
game=Vojvodina
recsel --expression="Name = '${game}'" $database
Update:
recset --expression="Name = '${game}'" -f Played --set="no" $database
new_field=Played
value=no
recset -f "$new_field" --delete $database
recset -f "$new_field" --set-add="$value" $database
recsel $database
Delete:
recdel --expression="Name = '${game}'" $database
recset -f "$new_field" --delete $database
- Extended example
 - Playing with board games data
 - Playing with IP addresses
 - Manage LaTeX Bibliographies
 - Fixes