I have seen the snippets page, and i think you refer to this one :
$MODKEY-Control-Right)
ctag=`wmiir read /view/sel/name`;
xwrite /view/ctl view `wmiir read /view | awk '{if
($NF=='$ctag'){print last; exit} last=$NF;}'`;;
But it's not working :
wmiir read /view/sel/name
wmiir: cannot open file '/view/sel/name': file not found
is it not for a old version with another tree structure ?
( i like Ivan's version, no awk :))
Received on Sun Jun 04 2006 - 23:25:41 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:07:47 UTC