View Single Post
  #20  
Old October 26th, 2005, 04:11 PM
B0rsuk's Avatar

B0rsuk B0rsuk is offline
Second Lieutenant
 
Join Date: Mar 2004
Location: Gdansk, Poland
Posts: 420
Thanks: 0
Thanked 15 Times in 4 Posts
B0rsuk is on a distinguished road
Default Re: The Tome v2.0 available

I'd like to create a primitive database of, say, spells (all in 1 file; 1 line - 1 spell) and then write some stupid bash/awk/grep script to display the spells I want.

For example: grep fire | grep conjuration | awk ' $4<=5 && $5<=3 {print $0}'

Such a stupid script would print me exactly what I want - in this case, fire conjuration 5 (or less) spells with fire path of 3 or less. Not really possible with manual. I guess I'll have to retype everything manually.
XLS files and heavy office software is not really my thing.
__________________
Those who do not understand Master Of Magic are condemned to reinvent it - badly.
Reply With Quote