Hello,
Somebody asked me a question, and I wasn't able to answer. So I ask it to
you. Is it possible to do something like this in lftp
`ls kde* |grep -v i18n |awk '!/devel/{print "mget "$1}'`
ie giving an quite complex expression, where the result will be a bunch of
commands feeded to the lftp's command line?
Well, I don't think the backquote is implemented in lftp, I am wrong? And
the best of all, is that the `command` should be interpreted as a lftp
command, not as a shell command, since the first ls is the lftp's ls. Like
in the case:
lftp ftp.fr.kernel.org:/pub/linux/kernel> cls | grep v[0-9]\.[0-9]/$
v1.0/
v1.1/
v1.2/
v1.3/
v2.0/
v2.1/
v2.2/
v2.3/
v2.4/
v2.5/
Maybe this is becoming a feature request :)