Linked by Thom Holwerda on Tue 27th May 2008 13:08 UTC, submitted by Ward D
Permalink for comment 315766
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.




Member since:
2005-11-16
So simple, yet so powerful.
Have you noticed that the program structure of DTrace in Solaris is also awk-like?
From dtrace_usenix.pdf :
" Each probe clause has the form:
probe-descriptions
/predicate/
{
action-statements
}
...
D uses a program structure similar to awk(1). "
It's just natural to write a program this way:
Match? Fire! Next.