[9fans] acme/sam language question

2013-10-29 Thread Rudolf Sykora
Hello, how can I set a dot from after A to before B, then make a global substitution, within thus set dot, of CC to DD and print the resulting text? I.e., if there isn't any CC between A and B, just print what's between A and B, if there is, change it to DD and print all between A and B. I have

Re: [9fans] acme/sam language question

2013-10-29 Thread Friedrich Psiorz
this should do the trick /A/+#0;/B/-#0 g/CC/ s/CC/DD/g p ~Fritz Am 29.10.2013 16:31, schrieb Rudolf Sykora: Hello, how can I set a dot from after A to before B, then make a global substitution, within thus set dot, of CC to DD and print the resulting text? I.e., if there isn't any CC

[9fans] ipsec

2013-10-29 Thread Steve Simon
I asked about the linux app VPNC a few days ago, however plan9 already has an IPsec implementation, it would need (at least) l2tp to speak Windows VPN and maybe xauth as well (I haven't done much research yet). Anyone used ipsec and have some example code? Anyone tried anything similar? -Steve