in reply to Re^4: one liner with separate input file?
in thread one liner with separate input file?

Laurent_R quite properly asked for details -- "Please give full details on what you are trying: exact command line used, sample input files, OS on which you are working, any other thing worth of interest (such as warnings or errors)."

I would add show us the code as you've most recently modified it.

So far, you haven't done so. Please make it possible for us to help by following Laurent_R's suggestion.

As to processing hundreds of IPs in the file: read them into an array and iterate thru the array with your "(sic)do" command.


If I've misconstrued your question or the logic needed to answer it, I offer my apologies to all those electrons which were inconvenienced by the creation of this post.

Replies are listed 'Best First'.
Re^6: one liner with separate input file?
by Laurent_R (Canon) on Apr 17, 2015 at 22:54 UTC
    I obviously agree with ww (I wish I could ++ his or her post, but it seems that I can't, it seems that I used all my voting rights for today, first time in a quite long period.)

    Please show your code.

    Update, Apr. 18: Now that I recovered some voting rights, I was able to ++ the post.

    Je suis Charlie.