in reply to Re: Re: Re: while loop not working
in thread while loop not working

Almost, but not exactly, Browser

He wants all lines after POLYMORPH.

So grep -v POLYMORPH graph_set.txt >>test.txt might be an option.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: while loop not working
by BrowserUk (Patriarch) on Jul 16, 2003 at 07:29 UTC

    Possibly true. I was hoping to pursuade Harry to elusidate a little upon his requirements so that we might offer a solution that fits his problem. I suspect that test.txt is simply that. A mechanism to test whether this part of the code is working rather than the final requirement.

    Which ever interpretation you place on the code as is, there are better ways of achieving the goal. If he would tell us what he wants, it would be easier to suggest something.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller