[ale] OT: Synchronizing cell phones with GNOKII

Geoffrey lists at serioustechnology.com
Thu Nov 20 11:24:38 EST 2008


John Mills wrote:
> ALErs -
> 
> I have a pair of low-end Nokia 6030 phones on two T-Mobile 'prepaid' 
> accounts, and I would like to synchronize their stored phonebooks.
> 
> I exported the two phonebooks with GNOKII as files of records of the form:
> 
> <name with spaces>;<phone_number>;<memory_type>;<seq_number>;5<NL>
> 
> I would like to sort the lists by phone number in order to cull and 
> combine them, probably re-sort by name, then adjust the sequence numbers.

I'm assuming the '<>' are not in the data.  That being said, you should 
be able to sort by phone number as follows:

sort -t ';' --key=2.1,2.10 filename

Test it, I didn't. :)

As for sorting by name, do you want to sort by last name?  That makes it 
a bit more challenging.

-- 
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin


More information about the Ale mailing list