Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: PGA Golf, Round 1

by da (Friar)
on May 24, 2001 at 20:55 UTC ( #82999=note: print w/ replies, xml ) Need Help??

in reply to PGA Golf, Round 1

Hole 2: I'm working under the assumption that 'one liner' strictly means it is executed as one line; and it's OK to specify I'm using csh otherwise I'm sunk. :-) 25 counting the carriage returns:

perl -e'/ / / / goto TPC'
hmm... specifying sh instead of csh, eliminate the / characters, and that's 21.

Please go easy on me, I'm an amateur. Of course, scoring it is vaguely impossible according to the rules, so I don't imagine this is a valid play...

--- -DA
update: took me 5 min., plus 5 min. to try and convince myself it might be valid...

Comment on Re: PGA Golf, Round 1
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://82999]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2015-11-27 11:02 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (724 votes), past polls