in reply to Re: how to improve this script
in thread how to improve this script

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^3: how to improve this script
by shmem (Chancellor) on Oct 10, 2007 at 11:37 UTC
    i know you gave me a good explain but my code isn't like yours cause i feel that my code is more understandable
    no more
    i have tried your method to create to variables one for comment and another one for block and i failed

    Yet it doesn't do what you want. What is so difficult in copying a piece of code, or in asking again if there's something you don't understand?

    and also your method is relay on taking a sample of the file by EOF and this didn't suit me

    I don't understand what you mean by "taking a sample of the file by EOF". Can you explain that in other words, or in code? There's no use of EOF or taking a sample in there.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
    A reply falls below the community's threshold of quality. You may see it by logging in.