Re: NTLK How - Find out if a note is in a NBU backup

From: Paul Guyot (pguyot@pnm-consulting.com)
Date: Mon May 29 2000 - 04:51:54 CDT


>if there is a particular note in a NBU backup file or is it
>possible to do a text search in a NBU file with some tool?
>Would Newton Connection Utilities perform this task, or can't
>this program handle NBU files?

I have no idea of the format for NBU files, but the data is there,
unencrypted. Considering that the notes are very probably coded in
Unicode, if you know what was in the note, you can perform a text
search, as you said, with tools that will accept that.

Because of Unicode, the best is to use a regexp, since a C-string
ends with '\0', therefore looking for H\0e\l\0l\0o (if you ever were
able to input that) may end with most software to look for H.

You can use the MPW regular expressions or BBEdit's.
In the first case, try something like /h?e?l?l?o/
In the second, h.e.l.l.o

Hope this helps,

Paul

-- 
P&M Consulting Newton Program
http://www.pnm-consulting.com/newton/
***************************************
NewtonTalk brought to you by:

EVOTE.COM -- the ESPN of politics on the Internet! All the players, all the news, and the hottest analysis and features (plus 'toons!) anywhere.... visit http://www.evote.com today!

*************************************** Need Subscribe/Unsubscribe info?

Visit the NewtonTalk section at http://www.planetnewton.com



This archive was generated by hypermail 2b29 : Thu Jun 01 2000 - 00:00:08 CDT