What is the reasoning behind the Makefile whitespace syntax?

后端 未结 2 686
囚心锁ツ
囚心锁ツ 2020-12-30 01:00

I\'m revisiting Python after Michael Sparks\'s excellent walk through of Peter Norvig\'s Python spell checker at the SO DevDay in London.

One of the points he highli

2条回答
  •  长发绾君心
    2020-12-30 01:51

    From "The Art of Unix Programming" comes this quote:

    Why the tab in column 1? Yacc was new, Lex was brand new. I hadn't tried either, so I figured this would be a good excuse to learn. After getting myself snarled up with my first stab at Lex, I just did something simple with the pattern newline-tab. It worked, it stayed. And then a few weeks later I had a user population of about a dozen, most of them friends, and I didn't want to screw up my embedded base. The rest, sadly, is history.
    -- Stuart Feldman

提交回复
热议问题