> ---------------------------------------- > From: Gregory Edigarov <ediga...@qarea.com> > Sent: Wed Dec 24 15:56:02 CET 2014 > To: <misc@openbsd.org> > Subject: interesting question about shells > > > Hi, > > an interesting question has just come to my head: > do you know of any shell that could complete from the terminal output of > any of the previous command? > > like for example: > i want it to complete from a result of ls, so I give the ls command, > look at its output, then for example > i type 'cat <some prefix>TAB' and it completes from the result of ls. > now if i want for example ssh to any host, i give command cat > .ssh/config, and then ssh <some prefix>TAB. > is that at all possible? > > -- > With best regards, > Gregory Edigarov >
Hi I don't think any shells use that since you can do so in many ways... ..... | xargs ......... you can use a named pipe .... command < /dev/mypipe & command > /dev/mypipe etc... etc... etc... Cordialement Francois Pussault 10 chemin de négo saoumos apt 202 - bat 2 31300 Toulouse +33 6 17 230 820 +33 5 34 365 269 fpussa...@contactoffice.fr