Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/games/ppt



>If I pipe this email to "ppt | ppt -d" I get the newlines exactly as
>in the original.

        % echo foo | ppt | ppt -d
        foo

        % echo -n foo | ppt | ppt -d
        foo

imho, the blank line after the first run shouldn't be there.  it
should only be printed if needed.  perhaps, if we wish to be more
pedantic, no extra newlines should be printed at all.

>I fixed the dflag issue, and then read your email, and figured out
>the argv issue (first arg skipped).

um...almost.  after the puts(EDGE), you should check for argc > 0, not
argc > 1.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior%daemon.org@localhost             * "ah!  i see you have the internet
twofsonet%graffiti.com@localhost (Andrew Brown)                that goes 
*ping*!"
werdna%squooshy.com@localhost       * "information is power -- share the 
wealth."



Home | Main Index | Thread Index | Old Index