[wiki] [surf] Error in simple bookmarking description

From: Thuban <thuban_AT_singularity.fr>
Date: Tue, 8 May 2012 18:44:05 +0200

On the wiki, concerning the simple bookmarking file, there are these
instructions to use it :

  #define LOADBMK(p) { .v = (char *[]){ "/bin/sh", "-c", \
          "xprop -id $1 -f $0 8s -set $0 `loadbookmark` || exit 0", \
       p, winid, NULL } }

But it doesn't semms to work.
These lines are working :
  #define LOADBMK { .v = (char *[]){ "/bin/sh", "-c", \
          "xprop -id $0 -f _SURF_GO 8s -set _SURF_GO `loadbookmark` || exit 0", \
        winid, NULL } }

The first $1 might be a $0 instead. Am I wrong?

-- 
 ,--.   Xavier Cartron                           ,   /(
: /` )  M1 MEFPC                        o     **}=\\,\(,,  
| `-'   Debian user                    <0--       (___(_\\
 \_     jabber : thuban_AT_jabber.fr      / >        ,)   ,/ ``==>
Received on Tue May 08 2012 - 18:44:05 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:32:25 CEST