<razzy>
I am trying to use fuzzy finder "fzy" in vip.
<abu[m]>
Yes I remember. Good!
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
<razzy>
i have trouble with return value reading to vip. this (print (in '(sh "-c" "cat api.l | fzy") (line))) does not read output from "fzy". Question: is there good way to read fzy-out in vip? ideally vip->fzy->vip.
<razzy>
my picolisp is propably rusted again :]
<abu[m]>
I do not see why the above should not work. But to do the latter, you need 'pipe'.
<razzy>
pipe i see. :) thank you
<razzy>
i will read my old programs :]
<abu[m]>
The example in the reference with 'tr' does something like you need
<abu[m]>
(pipe (out (tr "[a-z]" "[A-Z]") ...
<abu[m]>
: (in '(sh "-c" "cat lib.l") (line))
<abu[m]>
-> ("#" " " "2" "8" "d" ...
<abu[m]>
So the above works
rob_w has quit [Remote host closed the connection]
zaWanderer has joined #picolisp
chexum has quit [Ping timeout: 255 seconds]
zaWanderer has quit [Quit: Leaving]
chexum has joined #picolisp
razzy has quit [Ping timeout: 260 seconds]
razzy has joined #picolisp
seninha has quit [Quit: Leaving]
<razzy>
it works alone. not as pipe with fzy.
<abu[m]>
I see. Yes, you said "read fzy-out", so you need only one pipe
razzy has quit [Ping timeout: 264 seconds]
razzy has joined #picolisp
seninha has joined #picolisp
razzy has quit [Ping timeout: 248 seconds]
razzy has joined #picolisp
seninha has quit [Quit: Leaving]
seninha has joined #picolisp
seninha has quit [Quit: Leaving]
seninha has joined #picolisp
inara` has quit [Quit: Leaving]
inara has joined #picolisp
inara` has joined #picolisp
inara has quit [Ping timeout: 264 seconds]
seninha has quit [Quit: Leaving]
razzy has quit [Ping timeout: 268 seconds]
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]