On Wed, Oct 26, 2016 at 1:24 AM, Lauri Kasanen <cur...@operamail.com> wrote:
>
> Well, I did try to use tab completion: cat < *zip[TAB]
>
> Of course it doesn't work. In my case, I had many files sharing a
> prefix, but only one ending in *zip, so typing that was several
> times faster than letter- tab, oh more letters, tab, oh, more
> letters, tab, more....
>

I wonder why you can't implement an easy workaround using ls or something.

    filename="`ls *zip | head -n 1`"
    nc 10.0.0.1 12345 < "$filename"
    do_something_else < "$filename"

Yeah. Just avoid the glob on the redirection and instead get the
filename before that. Any difficulty?
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to