Re: Off Topic: streaming a text file into a command?
William Jensen <jensenb@charter.net> writes:
> Hey guys,
>
> I'm trying to find the fastest mirror site. I am using a package called
> netselect. Works like this netselect -vv host1 host2 ... hostx. Wonderful
> little utility. Anyway, I have a list of mirrors in a text file like this:
>
> host1
> host2
> host3
>
> How can I pump that file into netselect? I tried netselect -vv < file but
> it just laughed at me. :)
maybe try
netselect -vv `cat file`
(those are backticks - on the same key as ~)
Hubert
Reply to: