> Sorry, in fact I tried "cat foo | xargs yum install" > That fails because now yum's stdin is redirected to foo, > and it cannot ask for confirmation. How about: #!/bin/bash for rpmfile in `cat foo` do yum install $rpmfile done
> Sorry, in fact I tried "cat foo | xargs yum install" > That fails because now yum's stdin is redirected to foo, > and it cannot ask for confirmation. How about: #!/bin/bash for rpmfile in `cat foo` do yum install $rpmfile done