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:
in reply to PGA Golf, Round 1
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...
update: took me 5 min., plus 5 min. to try and convince myself it might be valid...