             let urlText = build.addingPercentEncoding(withAllowedCharacters: allowedQueryParamAndKey)!
             if let url = URL(string: "bear://x-callback-url/add-text?id=\(noteUid)&mode=replace&text=\(urlText)") {
                 NSWorkspace.shared.open(url)
+                //shell("/usr/bin/open",["-jg",url.absoluteString])
                 if triggerLine >= 0 {
                     if verbose > 1 {
                         print("trigger at line: \(triggerLine) column: \(triggerColumn)")

    let uid = Expression<String>("ZUNIQUEIDENTIFIER")
    let text = Expression<String>("ZTEXT")
    let trashed = Expression<Int64>("ZTRASHED")
    let changed = Expression<Double>("ZMODIFICATIONDATE")

    var newestChange = 0.0



//bearDB.trace { print($0) }

var lastCheck: Double = 0.0
var runTrigger = "<<<"
var formatTrigger = ">>>"
